@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* === Variables === */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #0891b2;
    --success: #10b981;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #475569;
    --border: #e2e8f0;
    --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);
    --radius: 6px;
    --radius-sm: 4px;
    --container: 1200px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Prevent horizontal scroll */
body, section, .header, .hero, .container {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 40px;
    width: 100%;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--secondary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    background: var(--primary);
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--bg-alt);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    min-height: 48px;
    min-width: 48px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text-main);
    border: 1px solid var(--border);
}

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

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

/* === Hero === */
.hero {
    padding: 160px 0 100px;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 70% 30%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 70% 30%, black, transparent 80%);
    opacity: 0.4;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-mission {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.badge svg {
    color: var(--primary);
}

.hero-advantage {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--success);
}

.advantage-icon {
    font-size: 1.5rem;
}

/* === Section === */
section {
    padding: 80px 0;
    max-width: 100%;
    overflow-x: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* === Products === */
.products {
    background: var(--bg-main);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.product-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-header {
    margin-bottom: 24px;
}

.product-icon {
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.product-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-list {
    margin-bottom: 20px;
}

.product-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.product-list li:last-child {
    border-bottom: none;
}

.product-list strong {
    color: var(--secondary);
}

.product-list a {
    color: inherit;
    border-bottom: 1px dotted var(--primary);
}

.product-list a:hover {
    color: var(--primary);
    border-bottom-style: solid;
}

/* === Product Images === */
.product-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.product-image-link {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.product-image-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-link:active::after {
    opacity: 1;
}

.product-image-link:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-image-link img {
    width: 100%;
    height: auto;
    display: block;
}

.product-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-alt);
    color: var(--text-muted);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

/* === Business === */
.business {
    background: var(--bg-alt);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.business-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

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

.business-number {
    position: absolute;
    top: -16px;
    left: 32px;
    width: 32px;
    height: 32px;
    background: var(--secondary);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.business-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.business-card > p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.business-card ul {
    margin-top: 16px;
}

.business-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.business-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* === Plans === */
.plans {
    background: var(--bg-main);
}

.plans-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.plan-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}

.plan-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 50px;
    bottom: -24px;
    width: 2px;
    background: var(--border);
}

.plan-marker {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border: 4px solid var(--bg-alt);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.plan-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.plan-content p {
    color: var(--text-muted);
}

/* === Security & Trust === */
.security-trust {
    background: var(--bg-alt);
    padding: 100px 0;
}

.security-card {
    background: var(--bg-dark);
    color: white;
    border-radius: var(--radius);
    padding: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.security-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.security-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-light);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.security-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.security-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.security-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.s-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.s-step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.s-step-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: white;
}

.s-step-info p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

.security-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.shield-icon {
    color: var(--primary-light);
    opacity: 0.8;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.3));
}

/* === Benefits === */
.benefits {
    background: var(--bg-main);
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* === CTA === */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 100px 0;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

.cta .btn-secondary {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.cta .btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* === Footer === */
.footer {
    background: var(--bg-alt);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 16px;
    color: var(--secondary);
}

.footer-column a {
    display: block;
    padding: 8px 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === Responsive === */
/* Desktop: make hero title larger */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .header-inner {
        flex-wrap: nowrap;
        height: auto;
        padding: 8px 0;
        gap: 8px;
    }

    .logo {
        font-size: 0.9rem;
    }

    .logo-text {
        display: none;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .security-card {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .security-title {
        font-size: 1.8rem;
    }

    .security-visual {
        display: none;
    }

    .nav {
        flex: 1;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 2px;
    }

    .nav-link {
        padding: 6px 8px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .header .btn {
        display: none;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-title .highlight {
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-mission {
        font-size: 1rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .badge {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .product-card,
    .business-card {
        padding: 20px;
    }

    .product-icon svg {
        width: 24px;
        height: 24px;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .business-card h3 {
        font-size: 1.2rem;
    }

    .business-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -15px;
        left: 20px;
    }

    .plan-item {
        gap: 16px;
    }

    .plan-marker {
        width: 24px;
        height: 24px;
    }

    .benefit-icon svg {
        width: 32px;
        height: 32px;
    }

    .benefit-item h4 {
        font-size: 1rem;
    }

    .cta {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .hero {
        padding: 120px 0 40px;
        min-height: auto;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .nav-link {
        padding: 4px 6px;
        font-size: 0.7rem;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-title .highlight {
        white-space: nowrap;
    }

    .products-grid,
    .business-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-card,
    .business-card {
        padding: 16px;
    }

    .product-images {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
    }

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

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .business-card {
        padding-top: 30px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn,
    .product-image-link {
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
    }

    .product-card:hover,
    .business-card:hover {
        transform: none;
    }

    .nav-link:active,
    .btn:active {
        transform: scale(0.98);
    }
}

/* Small height optimization (e.g., phones in landscape) */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 40px;
    }

    .logo-text {
        display: none;
    }
}

