@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --navy: #1E2A38;
    --light-grey: #F5F7FA;
    --accent-blue: #3A8EF6;
    --navy-light: #2A3A4C;
    --text-dark: #2C3E50;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: #ffffff;
    color: #2C3E50;
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.accent {
    color: #00bcd4;
}

.accent-bg {
    background-color: #00bcd4;
}

/* New AeXO Design System */
.text-navy {
    color: var(--navy);
}

.bg-navy {
    background-color: var(--navy);
}

.bg-navy-light {
    background-color: var(--navy-light);
}

.bg-section-light {
    background-color: var(--light-grey);
}

.text-accent-blue {
    color: var(--accent-blue);
}

.bg-accent-blue {
    background-color: var(--accent-blue);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #64B5F6);
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(58, 142, 246, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2979E0, var(--accent-blue));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(58, 142, 246, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(30, 42, 56, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--navy-light), #374B5F);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 42, 56, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    transform: scaleX(1);
}

.btn-outline:hover {
    color: var(--navy);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-outline-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-outline-white:hover::before {
    transform: scaleX(1);
}

.btn-outline-white:hover {
    color: var(--navy);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-accent {
    background-color: var(--accent-blue);
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-accent:hover {
    background-color: #2979E0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(58, 142, 246, 0.3);
}

.hero {
    background: linear-gradient(135deg, #0d47a1 0%, #000000 100%);
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-aexo {
    background: linear-gradient(135deg, #0A1628 0%, var(--navy) 50%, #0D1B2A 100%);
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-aexo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(58, 142, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(58, 142, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(100, 181, 246, 0.05) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
    z-index: 0;
}

.hero-aexo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(58, 142, 246, 0.03) 2px,
        rgba(58, 142, 246, 0.03) 4px
    );
    animation: grid-move 20s linear infinite;
    z-index: 0;
}

.hero-aexo > * {
    position: relative;
    z-index: 1;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.product-hero {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.product-hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    animation: fadeInDown 1s ease-in-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-in-out;
}

.hero a {
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    position: sticky;
    top: 0;
    background: rgba(18, 18, 18, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10;
}

nav a {
    color: #e0e0e0;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bcd4;
}

nav a.active {
    color: #00bcd4;
    font-weight: 600;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #121212;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
}

.card {
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

footer {
    background: #1e1e1e;
    padding: 40px 20px;
}

footer a {
    color: #00bcd4;
    transition: color 0.3s;
}

footer a:hover {
    color: #e0e0e0;
}

.service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #b0b0b0;
}

.product-card {
    background: #1e1e1e;
    border-radius: 15px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #00bcd4;
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00bcd4, #0097a7);
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00bcd4;
    font-weight: bold;
}

/* AeXO Specific Components */
.aexo-principle-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(58, 142, 246, 0.25);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.aexo-principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), #64B5F6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.aexo-principle-card:hover::before {
    transform: scaleX(1);
}

.aexo-principle-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-blue);
    background: linear-gradient(145deg, rgba(58, 142, 246, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 20px 40px rgba(58, 142, 246, 0.3), 0 0 80px rgba(58, 142, 246, 0.1);
}

.aexo-principle-card i {
    transition: transform 0.4s ease;
}

.aexo-principle-card:hover i {
    transform: scale(1.1) rotateY(360deg);
}

.how-it-works-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 50px 32px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.how-it-works-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-blue), #64B5F6, var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.how-it-works-card:hover::before {
    opacity: 1;
}

.how-it-works-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(58, 142, 246, 0.25), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), #64B5F6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(58, 142, 246, 0.5);
    transition: all 0.4s ease;
}

.how-it-works-card:hover .step-number {
    transform: translateX(-50%) scale(1.1) rotate(360deg);
    box-shadow: 0 12px 30px rgba(58, 142, 246, 0.6);
}

.quote-box {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-blue);
    padding: 32px;
    border-radius: 8px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.bg-gradient-trust {
    background: linear-gradient(135deg, #2C5F8D 0%, var(--navy) 100%);
    position: relative;
}

.bg-gradient-trust::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(100, 181, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(58, 142, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.bg-gradient-final {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #2979E0 50%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.03) 20px,
        rgba(255, 255, 255, 0.03) 40px
    );
    animation: diagonal-move 30s linear infinite;
}

@keyframes diagonal-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.product-card-small {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.product-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

/* Enhanced Visual Elements */
.problem-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(58, 142, 246, 0.1), rgba(58, 142, 246, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.problem-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-blue), #64B5F6);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.problem-icon-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
}

.problem-icon-wrapper:hover::before {
    opacity: 0.3;
}

/* Section Dividers */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), #64B5F6);
    margin: 0 auto 32px;
    border-radius: 2px;
    position: relative;
}

.section-divider-light {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.8), rgba(255,255,255,0.5));
    margin: 0 auto 32px;
    border-radius: 2px;
    position: relative;
}

.section-divider::before,
.section-divider::after,
.section-divider-light::before,
.section-divider-light::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-blue);
    transform: translateY(-50%);
}

.section-divider-light::before,
.section-divider-light::after {
    background: rgba(255,255,255,0.8);
}

.section-divider::before,
.section-divider-light::before {
    left: -16px;
}

.section-divider::after,
.section-divider-light::after {
    right: -16px;
}

/* Text Animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Glassmorphism for special sections */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Accent line for headings */
h2.accent-heading {
    position: relative;
    display: block;
}

h2.accent-heading-center {
    position: relative;
    display: block;
}

h2.accent-heading::after,
h2.accent-heading-center::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}
