/* Global Styles & Variables */
:root {
    --primary: #00AEEF;       /* Blue from logo */
    --primary-dark: #0088cc;
    --secondary: #FF7F00;     /* Orange from logo */
    --secondary-dark: #e67300;
    --dark: #1f2937;
    --gray: #6b7280;
    --light: #f3f4f6;
    --white: #ffffff;
    --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);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section {
    padding: 100px 0;
}

.bg-light { background-color: var(--light); }
.bg-white { background-color: var(--white); }
.text-highlight { color: var(--secondary); }
.text-success { color: #10b981; }
.text-muted { color: #9ca3af; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

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

.btn-large { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; display: flex; }

/* Header & Nav */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #fff7ed 100%);
    position: relative;
    overflow: hidden;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}
.hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,174,239,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    left: -100px;
}
.hero::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,127,0,0.1) 0%, rgba(255,255,255,0) 70%);
    bottom: -100px;
    right: -100px;
}

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

.badge-soft {
    display: inline-block;
    background: rgba(255, 127, 0, 0.1);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 127, 0, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
}
.hero-stats i { color: var(--primary); font-size: 1.2rem; }

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Features */
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 174, 239, 0.3);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: var(--transition);
}
.feature-card:hover .icon-box {
    background: var(--primary);
    color: var(--white);
}

.feature-card h3 { font-size: 1.25rem; margin-bottom: 15px; }
.feature-card p { color: var(--gray); }

/* Pricing */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    font-weight: 600;
}
.pricing-toggle span { transition: color 0.3s; }
.pricing-toggle .active { color: var(--primary); }

.save-badge {
    background: #10b981;
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary);
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider { background-color: var(--secondary); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.popular { border: 2px solid var(--secondary); transform: scale(1.05); }
.price-card.popular:hover { transform: scale(1.05) translateY(-5px); }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.plan-name { font-size: 1.25rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px;}
.plan-speed { font-size: 3rem; font-weight: 800; color: var(--dark); margin: 10px 0; }
.plan-speed span { font-size: 1.2rem; color: var(--gray); font-weight: 600; }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--primary); display: flex; align-items: flex-start; margin-bottom: 20px;}
.plan-price .currency { font-size: 1.2rem; margin-top: 5px; margin-right: 2px;}
.plan-price .duration { font-size: 1rem; color: var(--gray); align-self: flex-end; margin-bottom: 8px;}
.plan-desc { color: var(--gray); margin-bottom: 25px; min-height: 50px;}
.plan-features { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.plan-features li { display: flex; gap: 10px; margin-bottom: 15px; color: var(--dark); }
.plan-features i { color: #10b981; margin-top: 4px; }
.plan-features i.fa-times { color: #ef4444; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: 10px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px; background: none; border: none; font-size: 1.1rem; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { color: var(--primary); }
.faq-question i { transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fafafa; }
.faq-answer p { padding: 0 20px 20px 20px; color: var(--gray); }

/* Contact Section */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden; }
.contact-info { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 50px; }
.contact-info h2 { font-size: 2rem; margin-bottom: 15px; }
.contact-info > p { margin-bottom: 40px; opacity: 0.9; }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.info-item i { font-size: 1.5rem; background: rgba(255,255,255,0.2); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.info-item h4 { font-size: 1.1rem; margin-bottom: 5px; }
.info-item p { opacity: 0.8; }

.contact-form { padding: 50px; background: var(--white); }
.contact-form h3 { font-size: 1.8rem; margin-bottom: 25px; color: var(--dark); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1); }
.hidden { display: none; }
#form-message { margin-top: 20px; padding: 15px; background: #ecfdf5; border-radius: 8px; border: 1px solid #10b981; }

/* Footer */
footer { background: var(--dark); color: white; padding: 60px 0 0 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { color: #9ca3af; margin-bottom: 20px; max-width: 300px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); color: white; text-decoration: none; margin-right: 10px; transition: var(--transition); }
.social-links a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-links h3 { font-size: 1.2rem; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9ca3af; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { text-align: center; padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #9ca3af; font-size: 0.9rem; }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive Layouts */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .price-card.popular { transform: scale(1); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto 20px auto; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto 40px auto;}
    .grid-3 { grid-template-columns: 1fr; }
    .nav-toggle { display: block; }
    #nav-menu {
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    #nav-menu.show { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links { flex-direction: column; padding: 30px 0; gap: 20px; }
}
