/* AW Technologies — Brand Design */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f4f8fd;
    --color-surface: #ffffff;
    --color-border: rgba(28, 43, 62, 0.1);
    --color-text: #1c2b3e;
    --color-text-muted: rgba(28, 43, 62, 0.6);
    --color-accent: #1e70e8;
    --color-accent-dark: #1558b8;
    --color-accent-light: #e8f1fd;
    --color-navy: #1c2b3e;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
    --shadow-sm: 0 2px 8px rgba(28, 43, 62, 0.06);
    --shadow-md: 0 8px 32px rgba(28, 43, 62, 0.1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Cursor */
.cursor-dot, .cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--color-accent); }
.cursor-ring {
    width: 40px; height: 40px;
    border: 1px solid rgba(30, 112, 232, 0.3);
    transition: width 0.3s, height 0.3s;
}
@media (hover: none), (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* Typography */
.section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}
.section-title em {
    font-style: normal;
    color: var(--color-accent);
}
.lead {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s var(--transition);
}
.btn-primary {
    background: var(--color-accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 112, 232, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-border);
}
.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    margin-top: 1.5rem;
    border-radius: 8px;
}
.btn-whatsapp:hover { background: #1fb855; }
.btn-full { width: 100%; }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background 0.4s, box-shadow 0.4s;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo { display: flex; align-items: center; z-index: 1001; }
.logo-img { height: 44px; width: auto; }
.footer-logo { height: 36px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.3s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
}
.nav-link:hover { color: var(--color-accent); }
.nav-link:hover::after { width: 100%; }

.nav-cta { padding: 0.625rem 1.5rem; font-size: 0.8125rem; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px; height: 32px;
    background: none; border: none;
    cursor: pointer; z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 100%; height: 2px;
    background: var(--color-navy);
    transition: transform 0.4s, opacity 0.4s;
}
.menu-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0;
    background: #fff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner { text-align: center; }
.mobile-logo { height: 60px; margin: 0 auto 2rem; }
.mobile-nav-links { list-style: none; margin-bottom: 2rem; }
.mobile-nav-links li { margin: 1.25rem 0; }
.mobile-nav-link {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-navy);
    transition: color 0.3s;
}
.mobile-nav-link:hover { color: var(--color-accent); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f8fd 0%, #ffffff 50%, #e8f1fd 100%);
}
.hero.has-video {
    background: #0a1628;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hero-video.is-playing {
    opacity: 1;
}
.hero-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.hero-poster.is-visible {
    opacity: 1;
}
.hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 30% 20%, rgba(30, 112, 232, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 80%, rgba(30, 112, 232, 0.05) 0%, transparent 50%);
    z-index: 1;
}
.hero.has-video .hero-gradient {
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.72) 0%,
        rgba(10, 22, 40, 0.55) 50%,
        rgba(10, 22, 40, 0.75) 100%
    );
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; z-index: 0; }

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding-top: var(--header-height);
}
.hero-slides { position: relative; min-height: 260px; margin-bottom: 2.5rem; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
    pointer-events: none;
}
.hero-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hero-title {
    font-size: clamp(2rem, 6vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    max-width: 800px;
    color: var(--color-navy);
}
.hero-title em {
    font-style: normal;
    color: var(--color-accent);
    display: block;
}
.hero.has-video .hero-title {
    color: #ffffff;
}
.hero.has-video .hero-title em {
    color: #7eb8ff;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}
.hero.has-video .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}
.hero.has-video .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.hero.has-video .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}
.hero-actions {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-indicators { display: flex; gap: 0.5rem; justify-content: center; }
.hero-indicator {
    width: 32px; height: 3px;
    background: var(--color-border);
    border: none; border-radius: 2px;
    cursor: pointer;
    transition: background 0.4s, width 0.4s;
}
.hero-indicator.active { background: var(--color-accent); width: 48px; }

.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem; z-index: 2;
}
.hero.has-video .hero-scroll span {
    color: rgba(255, 255, 255, 0.7);
}
.hero-scroll span {
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.scroll-line {
    width: 1px; height: 32px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Header over video background */
body.has-hero-video .header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}
body.has-hero-video .header:not(.scrolled) .nav-link:hover {
    color: #fff;
}
body.has-hero-video .header:not(.scrolled) .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
body.has-hero-video .header:not(.scrolled) .menu-toggle span {
    background: #fff;
}

/* Marquee */
.marquee {
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    background: var(--color-bg-alt);
}
.marquee-track {
    display: flex; align-items: center; gap: 2rem;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    width: max-content;
}
.marquee-track span {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}
.marquee-dot { color: var(--color-accent) !important; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 6rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}
.pamflet-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat-card {
    padding: 2rem 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* Features */
.features { background: var(--color-bg-alt); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 48px; height: 48px;
    margin: 0 auto 1.25rem;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    padding: 10px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}
.feature-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Packages */
.discount-badge {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.common-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.common-feature-tag {
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.package-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.package-blue { border-top: 4px solid #1e70e8; }
.package-green { border-top: 4px solid #22c55e; }
.package-purple { border-top: 4px solid #8b5cf6; }
.package-orange { border-top: 4px solid #f97316; }

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.package-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.package-blue .package-name { color: #1e70e8; }
.package-green .package-name { color: #22c55e; }
.package-purple .package-name { color: #8b5cf6; }
.package-orange .package-name { color: #f97316; }

.package-discount {
    font-size: 0.6875rem;
    font-weight: 600;
    background: #fef2f2;
    color: #ef4444;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
}
.package-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}
.package-pricing { margin-bottom: 1.25rem; }
.price-original {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}
.price-discounted {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
}
.package-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}
.package-features li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
}
.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}
.btn-package {
    background: var(--color-navy);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.3s;
}
.package-blue .btn-package { background: #1e70e8; }
.package-green .btn-package { background: #22c55e; }
.package-purple .btn-package { background: #8b5cf6; }
.package-orange .btn-package { background: #f97316; }
.btn-package:hover { opacity: 0.9; transform: translateY(-1px); }

/* Testimonials */
.testimonials { background: var(--color-bg-alt); overflow: hidden; }
.testimonials-slider { position: relative; max-width: 720px; margin: 0 auto; }
.testimonials-track { display: flex; transition: transform 0.6s var(--transition); }
.testimonial-card { min-width: 100%; padding: 0 1rem; text-align: center; }
.testimonial-quote {
    font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--color-navy);
}
.testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}
.testimonial-btn {
    width: 44px; height: 44px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 50%;
    color: var(--color-navy);
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
}
.testimonial-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-light);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-link {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    transition: color 0.3s;
}
a.contact-link:hover { color: var(--color-accent); }
.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}
.contact-form {
    background: var(--color-bg-alt);
    padding: 2.5rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-navy);
}
.form-group input,
.form-group textarea {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(30, 112, 232, 0.1);
}
.form-status { font-size: 0.875rem; text-align: center; min-height: 1.25rem; }
.form-status.success { color: #22c55e; }
.form-status.error { color: #ef4444; }

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.8);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    margin-top: 1rem;
    font-size: 0.875rem;
    max-width: 280px;
    opacity: 0.7;
}
.footer-nav h4, .footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 1.25rem;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.625rem; }
.footer-nav a {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
}
.footer-nav a:hover { opacity: 1; color: #fff; }
.footer-contact p {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.375rem;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8125rem;
    opacity: 0.5;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .container { padding: 0 1.25rem; }
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: flex; }
    .section { padding: 4rem 0; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-visual { order: -1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .packages-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form { padding: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-slides { min-height: 300px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-value { font-size: 2rem; }
    .hero-title { font-size: 1.875rem; }
}
