/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --secondary-color: #00D4AA;
    --text-primary: #0A0E27;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --background: #FFFFFF;
    --surface: #F9FAFB;
    --surface-light: #F3F4F6;
    --border: #E5E7EB;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-md: rgba(0, 0, 0, 0.12);
    --max-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.03;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

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

.hero-description {
    font-size: 1.375rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Email Form in Hero */
.hero-cta {
    max-width: 480px;
    margin: 0 auto;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    background: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px var(--shadow-md);
}

.email-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--surface);
}

.email-form input[type="email"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.cta-subtext {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

/* Features Section (How It Works) */
.features {
    padding: 100px 0;
    background: var(--background);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    position: relative;
}

.feature-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: var(--surface);
    overflow: hidden;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.demo-workflow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Email Side */
.email-window {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px var(--shadow-md);
    overflow: hidden;
    transform: translateX(0);
    transition: transform 0.5s ease;
}

.email-header {
    background: #F3F4F6;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.email-title {
    font-weight: 600;
    color: var(--text-primary);
}

.email-content {
    padding: 2rem;
}

.email-field {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.field-label {
    color: var(--text-secondary);
    font-weight: 500;
    width: 80px;
}

.field-value {
    color: var(--text-primary);
}

.email-body {
    margin-top: 2rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.typing-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.typing-list li {
    margin: 0.5rem 0;
}

.send-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.send-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Website Building Side */
.browser-window {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px var(--shadow-md);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.5s ease forwards;
    animation-delay: 2s;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.browser-header {
    background: #F3F4F6;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.browser-dots span:nth-child(1) { background: #EF4444; }
.browser-dots span:nth-child(2) { background: #F59E0B; }
.browser-dots span:nth-child(3) { background: #10B981; }

.browser-address {
    flex: 1;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.browser-content {
    height: 500px;
    background: white;
}

/* Building Site Animation */
.building-site {
    padding: 30px;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    opacity: 0;
}

.site-logo {
    width: 120px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 6px;
}

.site-nav {
    display: flex;
    gap: 20px;
}

.site-nav span {
    width: 60px;
    height: 20px;
    background: var(--surface);
    border-radius: 4px;
}

.site-hero {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.site-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    opacity: 0;
}

.gallery-item {
    height: 120px;
    border-radius: 8px;
}

/* Skeleton Animation */
.skeleton {
    background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    width: 80%;
    height: 20px;
    margin: 0 auto 10px;
}

.skeleton-button {
    width: 120px;
    height: 40px;
    margin: 20px auto 0;
}

/* Typing Animation */
.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40, end);
}

.typing-animation-delayed {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 2.5s;
}

.typing-animation-delayed-2 {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 3s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Appear Animations */
.animate-appear {
    animation: appearFromBottom 0.6s ease forwards;
    animation-delay: 2.5s;
}

.animate-appear-delayed {
    animation: appearFromBottom 0.6s ease forwards;
    animation-delay: 3s;
}

.animate-appear-delayed-2 {
    animation: appearFromBottom 0.6s ease forwards;
    animation-delay: 3.5s;
}

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

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--background);
}

.pricing-single {
    max-width: 500px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-md);
}

.plan-name {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.price {
    margin-bottom: 2rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.period {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-form input[type="email"] {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
}

.pricing-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-main h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-main p {
    color: #D1D5DB;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.footer-email {
    color: var(--primary-light);
    font-weight: 600;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 968px) {
    .demo-workflow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .email-window {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .browser-window {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .site-gallery {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}