* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --background: #ffffff;
    --background-light: #f8fafc;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-color);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.countdown-item {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    min-width: 80px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.countdown-item:hover {
    transform: translateY(-2px);
}

.countdown-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.countdown-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Email Signup */
.email-signup {
    max-width: 400px;
}

.signup-form {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    background: var(--background);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.signup-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.signup-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.signup-note {
    font-size: 14px;
    color: var(--text-light);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1d1d1f;
    border-radius: 40px;
    padding: 6px;
    box-shadow: 
        0 0 0 2px #2d2d30,
        0 0 0 4px #1d1d1f,
        0 25px 50px -12px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* iPhone 14 Dynamic Island */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 14px;
    z-index: 10;
}

/* iPhone Side Buttons - Left Side (Volume) */
.phone-mockup::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 120px;
    width: 3px;
    height: 32px;
    background: #2d2d30;
    border-radius: 0 2px 2px 0;
    box-shadow: 
        0 45px 0 0 #2d2d30,
        0 65px 0 0 #2d2d30;
}

/* Power Button - Right Side */
.phone-mockup {
    position: relative;
}

.phone-mockup:after {
    box-shadow: 
        0 45px 0 0 #2d2d30,
        0 65px 0 0 #2d2d30,
        286px -20px 0 -3px #2d2d30;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 50px 20px 20px 20px;
    height: 100%;
    background: linear-gradient(145deg, #1976D2, #2196F3, #42A5F5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.analysis-screen {
    color: white;
}

.status-bar {
    position: absolute;
    top: 12px;
    left: 20px;
    right: 20px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.status-bar::before {
    content: '9:41';
}

.status-bar::after {
    content: '100%';
}

/* Analysis Header */
.analysis-header {
    text-align: center;
    margin-bottom: 25px;
}

.ai-icon-container {
    margin-bottom: 15px;
}

.ai-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: spin 2s linear infinite;
}

.rotating svg {
    animation: spin 3s linear infinite;
}

.analysis-header h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.analysis-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    margin: 0;
}

/* Analysis Steps */
.analysis-steps {
    flex: 1;
    margin-bottom: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.step-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
}

.step-item.completed {
    opacity: 0.8;
}

.step-indicator {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.inactive-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.step-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.step-item.active span {
    color: white;
    font-weight: 600;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Car Info */
.car-info {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.car-info-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    margin-bottom: 4px;
    font-weight: 600;
}

.car-info-text {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Features Section */
.features-section {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.features-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.copyright {
    color: var(--text-light);
    font-size: 14px;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.success-message.show {
    transform: translate(-50%, -50%) scale(1);
}

.success-content {
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        margin-bottom: 60px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .countdown {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 16px 12px;
    }
    
    .countdown-number {
        font-size: 20px;
    }
    
    .countdown-label {
        font-size: 11px;
    }
    
    .email-signup {
        max-width: 100%;
    }
    
    .signup-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .email-input {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .signup-btn {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .app-preview {
        padding: 40px 16px 16px 16px;
    }
    
    .analysis-header h3 {
        font-size: 14px;
    }
    
    .analysis-header p {
        font-size: 11px;
    }
    
    .step-item span {
        font-size: 10px;
    }
    
    .car-info {
        padding: 10px;
    }
    
    .car-info-text {
        font-size: 11px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-section h3 {
        font-size: 24px;
    }
    
    .feature-card {
        padding: 24px 16px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .countdown {
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 12px 8px;
    }
    
    .countdown-number {
        font-size: 18px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .ai-icon {
        width: 50px;
        height: 50px;
    }
    
    .ai-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .app-preview {
        padding: 35px 12px 12px 12px;
    }
    
    .analysis-header {
        margin-bottom: 20px;
    }
    
    .analysis-header h3 {
        font-size: 13px;
    }
    
    .analysis-header p {
        font-size: 10px;
    }
    
    .step-item {
        margin-bottom: 8px;
        padding: 6px 0;
    }
    
    .step-item.active {
        padding: 6px 8px;
    }
    
    .step-indicator {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .step-item span {
        font-size: 9px;
        line-height: 1.2;
    }
    
    .progress-container {
        margin-bottom: 16px;
    }
    
    .progress-text {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .car-info {
        padding: 8px;
        margin-bottom: 0;
    }
    
    .car-info-label {
        font-size: 9px;
        margin-bottom: 3px;
    }
    
    .car-info-text {
        font-size: 10px;
    }
    
    .features-section h3 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 20px 12px;
    }
    
    .feature-icon {
        font-size: 36px;
        margin-bottom: 16px;
    }
    
    .feature-card h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .success-message {
        margin: 0 16px;
        width: calc(100% - 32px);
        padding: 30px 20px;
    }
    
    .footer {
        font-size: 12px;
        padding-bottom: 20px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }
    
    .countdown-item {
        min-width: 55px;
        padding: 10px 6px;
    }
    
    .countdown-number {
        font-size: 16px;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .ai-icon {
        width: 45px;
        height: 45px;
    }
    
    .ai-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .app-preview {
        padding: 30px 10px 10px 10px;
    }
} 