/* ===================================
   AW SERVICE - Main Stylesheet
   Apple-inspired, clean, minimal
   =================================== */

:root {
    /* Color Palette */
    --white: #FFFFFF;
    --frosted-white-blue: #EAF3FF;
    --soft-ice-blue: #B9D4FF;
    --glass-blue: #91BCF7;
    --clear-sky-blue: #6FA3F2;
    
    /* Text & Backgrounds */
    --text-primary: #000000;
    --bg-primary: #FFFFFF;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ===================================
   RESET & BASE
   =================================== */

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

html {
    scroll-behavior: smooth;
}

section[id], #hero, #services, #reviews {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===================================
   BUBBLE GRADIENT BACKGROUND
   =================================== */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(111, 163, 242, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 15%, rgba(145, 188, 247, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 10% 70%, rgba(185, 212, 255, 0.1) 0%, transparent 28%),
        radial-gradient(circle at 90% 60%, rgba(111, 163, 242, 0.08) 0%, transparent 32%),
        radial-gradient(circle at 50% 85%, rgba(145, 188, 247, 0.1) 0%, transparent 26%),
        radial-gradient(circle at 75% 40%, rgba(185, 212, 255, 0.12) 0%, transparent 25%);
    pointer-events: none;
    z-index: -1;
}

/* ===================================
   NAVBAR - MAIN STYLES
   =================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 24px 48px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 48px;
    border-radius: 50px;
    margin: 12px 48px;
    width: calc(100% - 96px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.7;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clear-sky-blue);
    transition: width 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--clear-sky-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    background: var(--glass-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(111, 163, 242, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero p {
    font-size: 20px;
    color: #666;
    margin-bottom: 48px;
    max-width: 600px;
    line-height: 1.8;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--glass-blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(111, 163, 242, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--clear-sky-blue);
    border: 2px solid var(--clear-sky-blue);
}

.btn-secondary:hover {
    background: var(--frosted-white-blue);
    border-color: var(--glass-blue);
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    padding: 80px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 64px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.service-card {
    background: var(--frosted-white-blue);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 1px solid rgba(111, 163, 242, 0.1);
}

.service-card:hover {
    background: var(--soft-ice-blue);
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(111, 163, 242, 0.2);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(111, 163, 242, 0.12);
    border: 1px solid rgba(111, 163, 242, 0.25);
    border-radius: 16px;
    color: var(--clear-sky-blue);
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--clear-sky-blue);
    color: #ffffff;
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 20px rgba(111, 163, 242, 0.35);
}

.service-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(111, 163, 242, 0.3);
    border-radius: 24px;
    color: var(--clear-sky-blue);
    margin: 0 auto 24px;
    box-shadow: 0 12px 32px rgba(111, 163, 242, 0.2);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-card .btn {
    width: 100%;
}

/* ===================================
   REVIEWS SECTION
   =================================== */

.reviews {
    padding: 80px 48px;
    background: var(--frosted-white-blue);
    max-width: 100%;
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.review-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--clear-sky-blue);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-card:hover {
    box-shadow: 0 8px 24px rgba(111, 163, 242, 0.15);
    transform: translateY(-4px);
}

.review-rating {
    color: #FFB800;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.7;
    font-style: italic;
}

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

.review-date {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background: #0d1e36;
    color: rgba(255, 255, 255, 0.85);
    padding: 32px 24px 24px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link svg {
    display: block;
}

.social-link:hover {
    background: var(--clear-sky-blue);
    color: #ffffff;
    border-color: var(--clear-sky-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(111, 163, 242, 0.35);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    opacity: 1;
}

.footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    nav {
        padding: 16px 24px;
    }
    
    nav.scrolled {
        margin: 8px 24px;
        width: calc(100% - 48px);
        padding: 12px 24px;
    }
    
    .nav-menu {
        gap: 24px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero h1 {
        font-size: 40px;
        margin-bottom: 16px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .services,
    .reviews {
        padding: 60px 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .reviews-grid {
        gap: 20px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 12px 16px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .services,
    .reviews {
        padding: 40px 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ===================================
   UTILITIES
   =================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

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

.mt {
    margin-top: var(--spacing-md);
}

.mb {
    margin-bottom: var(--spacing-md);
}

.hidden {
    display: none;
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.nav-link:focus,
.btn:focus,
a:focus {
    outline: 2px solid var(--clear-sky-blue);
    outline-offset: 2px;
}
