:root {
    --primary: #4e54c8;
    --primary-light: #8f94fb;
    --secondary: #FF6B6B;
    --dark: #2D3748;
    --light: #F8F9FA;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-reverse: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* High Contrast Mode */
.high-contrast {
    --primary: #0066CC;
    --primary-light: #3399FF;
    --secondary: #FF6600;
    --dark: #000000;
    --light: #FFFFFF;
    --gradient: linear-gradient(135deg, #0066CC 0%, #000000 100%);
    --gradient-reverse: linear-gradient(135deg, #000000 0%, #0066CC 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.7);
}

/* Accessibility Toolbar */
.accessibility-toolbar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.accessibility-toolbar button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background: var(--gradient);
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.accessibility-toolbar button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Text Size Classes */
.text-large {
    font-size: 120% !important;
}

.text-xlarge {
    font-size: 150% !important;
}

.text-xxlarge {
    font-size: 180% !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 4rem;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn.primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.btn.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn.secondary:hover {
    background: var(--primary);
    color: white;
}

.call-now {
    background: var(--secondary);
    color: white !important;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

nav {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h2 {
    font-size: 1.8rem;
    margin: 0;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.05;
    z-index: -1;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.2) rotate(10deg); }
}

.hero-content {
    flex: 1;
    padding-right: 50px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0);
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    animation: float 5s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 70%;
    left: -5%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    top: 40%;
    right: -5%;
    animation-delay: 2s;
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background: white;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.problem-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient);
    transition: height 0.3s ease;
}

.problem-card:hover::before {
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.problem-card .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.problem-card .icon i {
    font-size: 30px;
    color: white;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.problem-card p {
    position: relative;
    z-index: 1;
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse2 10s infinite alternate;
}

@keyframes pulse2 {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.solution-image {
    flex: 1;
    position: relative;
}

.solution-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.solution-features {
    flex: 1;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-text h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.step-content {
    margin-top: 20px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.whatsapp-cta {
    background: var(--gradient);
    border-radius: 20px;
    padding: 40px;
    color: white;
    text-align: center;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.whatsapp-icon {
    font-size: 3rem;
}

.whatsapp-text h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.whatsapp-btn {
    background: white;
    color: var(--primary);
    font-weight: bold;
}

.whatsapp-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.impact-story {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.impact-image {
    flex: 1;
}

.impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impact-content {
    flex: 1;
    padding: 40px;
}

.impact-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat h4 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: white;
}

.demo-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.demo-info {
    flex: 1;
}

.demo-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.language-selector {
    margin: 30px 0;
}

.language-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.language-selector select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-size: 1rem;
    background: white;
}

.demo-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.demo-tips h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-tips ul {
    padding-left: 20px;
}

.demo-tips li {
    margin-bottom: 8px;
}

.demo-interface {
    flex: 1;
}

.chat-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
    transition: transform 0.5s ease;
}

.chat-container:hover {
    transform: perspective(1000px) rotateX(0) rotateY(0);
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--gradient);
    color: white;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-info {
    flex: 1;
}

.chat-info h4 {
    margin: 0;
    font-size: 1.2rem;
}

.chat-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.chat-actions {
    display: flex;
    gap: 15px;
}

.chat-actions i {
    cursor: pointer;
}

.chat-messages {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    background: #f5f7fa;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 18px;
    animation: messageAppear 0.3s ease;
}

@keyframes messageAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-message {
    background: white;
    border-top-left-radius: 4px;
}

.user-message {
    background: var(--gradient);
    color: white;
    margin-left: auto;
    border-top-right-radius: 4px;
}

.chat-input {
    padding: 20px;
    background: white;
}

.input-container {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border-radius: 25px;
    padding: 0 15px;
}

.input-container i {
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.input-container i:hover {
    color: var(--primary-light);
}

.input-container input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px;
    font-size: 1rem;
    outline: none;
}

.quick-questions {
    margin-top: 15px;
}

.quick-questions p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #666;
}

.quick-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 8px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
   
    h2 {
        font-size: 2.5rem;
    }
   
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 150px 0 60px;
    }
   
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
   
    .hero-buttons {
        justify-content: center;
    }
   
    .solution-content, .impact-story, .demo-content {
        flex-direction: column;
    }
   
    .impact-stats {
        grid-template-columns: 1fr 1fr;
    }

    .whatsapp-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        gap: 30px;
    }
   
    .nav-links.active {
        left: 0;
    }
   
    .hamburger {
        display: flex;
    }
   
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
   
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
   
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
   
    h1 {
        font-size: 2.5rem;
    }
   
    h2 {
        font-size: 2rem;
    }
   
    .impact-stats {
        grid-template-columns: 1fr;
    }
   
    .hero-buttons {
        flex-direction: column;
    }

    .accessibility-toolbar {
        bottom: 10px;
        right: 10px;
        padding: 10px;
    }

    .accessibility-toolbar button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus, 
a:focus, 
input:focus, 
select:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}