/* style.css */
:root {
    /* Default Colors (will be customized by user later) */
    --primary-color: #0056b3;
    --primary-hover: #003d82;
    --accent-color: #FFD700;
    --text-main: #2c3e50;
    --text-muted: #596a7a;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-button: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    padding-top: 72px; /* Space for fixed navbar */
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.mb-2 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 48px; }
.mt-2 { margin-top: 24px; }

/* Typography */
h1, h2, h3, h4 {
    color: #1a202c;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.section-desc {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 56px;
    max-width: 700px;
    margin-inline: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color); /* Clear border */
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.03em;
}

.nav-logo-img {
    height: 40px;
    width: 40px;
    margin-right: 12px;
    border-radius: 8px; /* if it needs smooth edges */
    object-fit: cover;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Professional Buttons */
.btn-primary, .btn-outline, .btn-large, .btn-giant, .btn-sm, .btn-login {
    display: inline-block;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 118, 255, 0.45);
}

.btn-outline {
    padding: 10px 24px;
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}

.btn-login {
    color: var(--text-main);
    font-weight: 600;
}
.btn-login:hover {
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.15rem;
    background-color: var(--accent-color);
    color: #1a1a1a;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.5);
}
.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background-color: #fce036;
}

.btn-giant {
    padding: 20px 56px;
    font-size: 1.25rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-button);
}
.btn-giant:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 118, 255, 0.5);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 6px;
}

/* Fade In Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8faff 0%, #eef3fb 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

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

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(120deg, #1a202c, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

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

.discount-tag {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 71, 87, 0.2);
}

/* Hero Vector Art Animation */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.animated-hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(0.9); opacity: 0.5; }
}
.ring1 { animation: pulseRing 4s ease-in-out infinite; transform-origin: center; }
.ring2 { animation: pulseRing 6s ease-in-out infinite reverse; transform-origin: center; }

@keyframes floatShield {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.central-shield, .swoosh { 
    animation: floatShield 5s ease-in-out infinite; 
}

@keyframes drawLine {
    0% { stroke-dasharray: 0, 1000; }
    100% { stroke-dasharray: 1000, 0; }
}
.network-nodes line {
    stroke-dasharray: 1000;
    animation: drawLine 3s ease-out forwards;
}

@keyframes blinkNode {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}
.node1 { animation: blinkNode 2s infinite; transform-origin: 100px 150px; }
.node2 { animation: blinkNode 3s infinite 0.5s; transform-origin: 400px 120px; }
.node3 { animation: blinkNode 2.5s infinite 1s; transform-origin: 120px 350px; }
.node4 { animation: blinkNode 3.5s infinite 1.5s; transform-origin: 380px 360px; }


/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-1 { display: grid; grid-template-columns: 1fr; }

/* Cards */
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 118, 255, 0.2);
}

/* Features */
.feature-card { text-align: center; }
.feature-card .card-icon { font-size: 3.5rem; margin-bottom: 24px; display: inline-block; }
.feature-card h3 { margin-bottom: 16px; font-size: 1.5rem; }
.feature-card p { color: var(--text-muted); }
.wide-card { padding: 48px; }

/* Why Choose */
.why-grid { text-align: center; }
.why-item { padding: 24px; transition: var(--transition); border-radius: 12px; }
.why-item:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-5px); }
.why-item .emoji { font-size: 3rem; display: block; margin-bottom: 20px; }
.why-item h4 { font-size: 1.25rem; margin-bottom: 12px; }
.why-item p { color: var(--text-muted); font-size: 1rem; }

/* Pricing */
.pricing-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 48px 32px;
}

.pricing-card.recommended {
    border-color: var(--primary-color);
    border-width: 2px;
    transform: scale(1.03);
    z-index: 2;
    box-shadow: var(--shadow-hover);
}

.pricing-card.recommended:hover {
    transform: scale(1.03) translateY(-8px);
}

.recommend-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color), #ff9800);
    color: #1a1a1a;
    padding: 6px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--primary-color); margin-bottom: 16px; line-height: 1; }
.plan-price span { font-size: 1.1rem; color: var(--text-muted); font-weight: 500; }
.plan-desc { color: var(--text-muted); margin-bottom: 32px; font-size: 1rem; height: 48px; }

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 16px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Platforms */
.platform-card { text-align: center; padding: 40px 24px; }
.platform-icon { font-size: 4rem; margin-bottom: 20px; transition: transform 0.3s ease; }
.platform-card:hover .platform-icon { transform: scale(1.1); }
.platform-card h3 { margin-bottom: 24px; }

/* Marquee */
.overflow-hidden { overflow: hidden; }
.marquee-container { width: 100%; overflow: hidden; position: relative; padding: 24px 0; }
.marquee-content { display: flex; gap: 32px; width: fit-content; animation: scroll 25s linear infinite; }
.marquee-container:hover .marquee-content { animation-play-state: paused; }

.review-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    width: 380px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.stars { color: #FFD700; margin-bottom: 16px; font-size: 1.25rem; letter-spacing: 2px; }
.review-card p { font-style: italic; margin-bottom: 20px; color: var(--text-main); line-height: 1.7; }
.reviewer { font-weight: 700; text-align: right; color: var(--primary-color); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-380px * 5 - 32px * 5)); }
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
details {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

details:hover { border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

summary {
    padding: 24px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
    color: var(--text-main);
}

summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: 300;
}

details[open] summary::after { content: '−'; transform: translateY(-50%) rotate(90deg); }
details[open] { border-color: var(--primary-color); }

.faq-content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #f1f5f9;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }
.copyright { color: #64748b; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-title { font-size: 3rem; }
    .hero-visual { max-width: 400px; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.recommended { transform: none; }
    .pricing-card.recommended:hover { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .navbar { height: auto; min-height: 72px; padding: 12px 0; }
    .nav-links { display: none; flex-direction: column; width: 100%; gap: 16px; padding: 24px 0; order: 3; }
    .nav-actions { display: none; flex-direction: column; width: 100%; padding-bottom: 24px; gap: 16px; order: 4; }
    .nav-links.show-mobile, .nav-actions.show-mobile { display: flex !important; }
    .mobile-menu-btn { display: block; }
    .nav-container { flex-wrap: wrap; }
    
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .footer-links { flex-direction: column; gap: 16px; }
}
