/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #2196f3;
    --primary-dark: #1976d2;
    --secondary-color: #ff6b35;
    --accent-color: #ffd60a;
    --success-color: #00d9ff;
    --purple-color: #9c27b0;
    --green-color: #4caf50;
    --orange-color: #ff9800;
    --pink-color: #e91e63;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-dark: #1a202c;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #2196f3 0%, #21cbf3 50%, #9c27b0 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd60a 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-services: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-contact: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-brand h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.nav-slogan {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.8;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='10' height='10' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 10 0 L 0 0 0 10' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23grid)'/%3E%3C/svg%3E");
    animation: float 25s linear infinite reverse;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd60a, #ff6b35, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.floating-cards .card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    animation: float 6s ease-in-out infinite;
    border: 2px solid rgba(255,255,255,0.3);
}

.floating-cards .card i {
    font-size: var(--font-size-2xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.floating-cards .card span {
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 {
    border-left: 4px solid var(--secondary-color);
}

.card-1 i {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-2 {
    border-left: 4px solid var(--success-color);
}

.card-2 i {
    background: linear-gradient(45deg, var(--success-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-3 {
    border-left: 4px solid var(--purple-color);
}

.card-3 i {
    background: linear-gradient(45deg, var(--purple-color), var(--pink-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    top: 40%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.section-header p {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    text-align: center;
}

/* Services Section */
.services {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30m-4,0a4,4 0 1,1 8,0a4,4 0 1,1 -8,0'/%3E%3Cpath d='M30 10m-4,0a4,4 0 1,1 8,0a4,4 0 1,1 -8,0'/%3E%3Cpath d='M30 50m-4,0a4,4 0 1,1 8,0a4,4 0 1,1 -8,0'/%3E%3Cpath d='M10 30m-4,0a4,4 0 1,1 8,0a4,4 0 1,1 -8,0'/%3E%3Cpath d='M50 30m-4,0a4,4 0 1,1 8,0a4,4 0 1,1 -8,0'/%3E%3C/g%3E%3C/svg%3E");
    animation: float 18s linear infinite;
}

.services .section-header h2,
.services .section-header p {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all var(--transition-normal);
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.service-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--purple-color), var(--pink-color));
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.4);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, var(--purple-color), var(--pink-color));
}


.service-icon i {
    font-size: var(--font-size-2xl);
    color: white;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    margin-bottom: var(--spacing-md);
}

.service-card p {
    margin-bottom: var(--spacing-lg);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--spacing-lg);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Platform Section */
.platform {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.platform-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
}

.feature-list {
    margin-bottom: var(--spacing-2xl);
}

.feature {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature i {
    color: var(--secondary-color);
    font-size: var(--font-size-lg);
    margin-top: var(--spacing-xs);
}

.feature h4 {
    margin-bottom: var(--spacing-xs);
}

.feature p {
    margin: 0;
    color: var(--text-secondary);
}

.platform-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.platform-screenshots {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.main-screenshot {
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.screenshot-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.screenshot-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.secondary-screenshots {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.small-screenshot-wrapper {
    flex: 1;
    max-width: 400px;
}

.small-screenshot-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.small-screenshot-image:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: var(--font-size-3xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-xs);
}

.stat p {
    color: var(--text-secondary);
    margin: 0;
}

.about-features {
    display: grid;
    gap: var(--spacing-lg);
}

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.feature-card i {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.feature-card h4 {
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-contact);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h80v80H0V0zm20 20v40h40V20H20zm20 35a15 15 0 1 1 0-30 15 15 0 0 1 0 30z' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
}

.contact h2,
.contact p {
    color: white;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-info-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-3xl) 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.contact-icon i {
    font-size: var(--font-size-xl);
    color: white;
}

.contact-card h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.contact-card a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-card a:hover {
    color: white;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.contact-cta {
    margin-top: var(--spacing-2xl);
}


/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.footer-column h4 {
    margin-bottom: var(--spacing-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: var(--spacing-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .platform-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: var(--font-size-3xl);
    }
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: var(--spacing-xl);
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-normal);
}

.close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-xl);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.close:hover,
.close:focus {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.clickable-image {
    cursor: pointer;
    transition: all var(--transition-normal);
}

/* Privacy Policy Modal Specific Styles */
.modal-text {
    position: relative;
    margin: 2% auto;
    max-width: 900px !important;
    width: 95% !important;
    max-height: 90vh !important;
    background: white !important;
    border-radius: 12px;
    overflow: hidden;
    padding: 0 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.modal-text .close {
    color: #666 !important;
    background: rgba(0, 0, 0, 0.05) !important;
    position: absolute !important;
    right: 15px !important;
    top: 15px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 24px !important;
    z-index: 1000;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-text .close:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
    transform: scale(1.1);
}

.modal-body {
    padding: 40px 50px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.7;
    color: #333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.modal-body h2 {
    color: #2196f3;
    margin-bottom: 8px;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-body h3 {
    color: #2196f3;
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.35rem;
    font-weight: 600;
    padding-left: 0;
}

.modal-body h4 {
    color: #444;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    padding-left: 15px;
}

.modal-body p {
    margin-bottom: 16px;
    font-size: 15px;
    text-align: justify;
}

.modal-body ul {
    margin: 12px 0 20px 30px;
    padding-left: 0;
}

.modal-body li {
    margin-bottom: 8px;
    list-style-type: disc;
    font-size: 15px;
    padding-left: 5px;
}

.modal-body .effective-date {
    color: #777;
    font-style: italic;
    margin-bottom: 30px;
    text-align: center;
    font-size: 14px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
}

.modal-body a {
    color: #2196f3;
    text-decoration: none;
    font-weight: 500;
}

.modal-body a:hover {
    text-decoration: underline;
    color: #1976d2;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-text {
        width: 98% !important;
        margin: 1% auto;
        max-height: 95vh !important;
        border-radius: 8px;
    }
    
    .modal-body {
        padding: 25px 20px;
        font-size: 14px;
    }
    
    .modal-body h2 {
        font-size: 1.8rem;
    }
    
    .modal-body h3 {
        font-size: 1.2rem;
        margin-top: 25px;
    }
    
    .modal-body h4 {
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .modal-body ul {
        margin-left: 20px;
    }
    
    .modal-text .close {
        right: 10px !important;
        top: 10px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 20px !important;
    }
}

.clickable-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }