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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary: #3B82F6;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --border: #E2E8F0;
    --gradient: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: max(16px, env(safe-area-inset-left));
    top: max(8px, env(safe-area-inset-top));
    outline: 2px solid white;
    outline-offset: 2px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    padding-top: max(16px, env(safe-area-inset-top));
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    min-height: 0;
    padding: clamp(48px, 8vw, 80px) 0 clamp(64px, 10vw, 120px);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 0.25vw + 0.95rem, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: clamp(24px, 4vw, 40px);
    line-height: 1.6;
}

.hero-description p {
    margin: 0;
}

.hero-description p + p {
    margin-top: 0.75em;
}

.hero-signup-note {
    font-weight: 500;
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 0;
}

.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    touch-action: manipulation;
    min-height: 44px;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-primary);
}

/* Dashboard Preview */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-preview {
        animation: none;
    }
}

.dashboard-header {
    background: var(--bg-secondary);
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

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

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.dashboard-dots span:nth-child(1) {
    background: #FF5F57;
}

.dashboard-dots span:nth-child(2) {
    background: #FFBD2E;
}

.dashboard-dots span:nth-child(3) {
    background: #28CA42;
}

.dashboard-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.message-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.message-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.task-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    border-radius: 12px;
    color: white;
}

.task-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.task-info {
    flex: 1;
}

.task-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.task-status {
    font-size: 12px;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: clamp(40px, 6vw, 72px) 0;
    background: var(--bg-primary);
}

.features .container {
    max-width: 1411px; /* ~10% wider than default 1280px container (two +5% steps) */
}

.features-mobile-heading {
    display: none;
}

.section-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto clamp(32px, 6vw, 56px);
}

.section-title {
    font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
    color: var(--text-secondary);
}

.pricing .section-header {
    margin-bottom: clamp(20px, 4vw, 36px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
}

@media (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.feature-card {
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
}

.feature-card-coming-soon .coming-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.feature-card-coming-soon .coming-soon-icon {
    flex-shrink: 0;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
}

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

.feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Product Tiers / Pricing Section */
.pricing {
    padding: clamp(40px, 6vw, 64px) 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 24px);
    max-width: 720px;
    margin: 0 auto;
    align-items: stretch;
}

.tier-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: clamp(18px, 3vw, 24px);
    max-width: none;
    transition: all 0.3s;
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tier-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.tier-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tier-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-badge-row .tier-badge {
    margin-bottom: 0;
}

.tier-badge-coming-soon {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.tier-pro-coming-soon {
    position: relative;
}


.btn-coming-soon {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid var(--border);
    pointer-events: none;
}

.btn-coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.tier-name {
    font-size: clamp(1.1rem, 1.5vw + 0.85rem, 1.35rem);
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.tier-price {
    margin-bottom: 4px;
}

.price-amount {
    font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tier-description {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.45;
}

.tier-features {
    list-style: none;
    margin-bottom: 16px;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.8125rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.tier-features .check {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.tier-card .btn {
    padding: 10px 18px;
    font-size: 0.875rem;
    border-radius: 8px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* CTA Section */
.cta {
    padding: clamp(56px, 10vw, 120px) 0;
    background: var(--gradient);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw + 1rem, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
    margin-bottom: clamp(24px, 4vw, 40px);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: center;
}

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

.cta .btn-primary:hover {
    background: var(--bg-secondary);
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: clamp(20px, 4vw, 36px) 0 max(16px, env(safe-area-inset-bottom));
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
    font-size: 18px;
}

.footer-brand .logo svg {
    width: 28px;
    height: 28px;
}

.footer-tagline {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.footer-social-link:hover {
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.06);
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.footer-copyright {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column a {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-right: 24px;
    transition: color 0.2s;
}

.footer-column a:last-child {
    margin-right: 0;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 12px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
}

.footer-legal {
    margin: 0 0 8px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-legal-sep {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: clamp(28px, 5vw, 48px);
    }

    .hero-visual {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .nav-content {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 28px 0 40px;
        text-align: center;
    }

    .hero-content {
        margin-inline: auto;
    }

    .hero-title {
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: max(1rem, 16px);
        line-height: 1.65;
    }

    .hero-badge,
    .hero-visual {
        display: none;
    }

    .hero-cta {
        display: none;
    }

    .section-title {
        text-wrap: balance;
    }

    .features .section-header {
        display: none;
    }

    .features .features-mobile-heading {
        display: block;
        text-align: center;
        margin: 0 auto clamp(24px, 5vw, 40px);
    }

    .feature-card {
        padding: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta .btn-large {
        width: 100%;
    }

    .cta {
        padding-bottom: max(56px, calc(env(safe-area-inset-bottom) + 40px));
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .logo svg {
        width: 28px;
        height: 28px;
    }

    .dashboard-content {
        padding: 16px;
        gap: 12px;
    }

    .message-card,
    .task-card {
        padding: 12px;
    }

    .footer-content {
        margin-bottom: 12px;
    }
}

