/* =====================================================
   TEMPLE OF KUMBAKONAM - WEBSITE STYLES
   A spiritual, modern design inspired by Chozha heritage
   ===================================================== */

/* =============== CSS CUSTOM PROPERTIES =============== */
:root {
    /* Temple-inspired Color Palette */
    --stone-gray: #4a4543;
    --stone-light: #6b6563;
    --temple-brown: #8B4513;
    --temple-brown-light: #A0522D;
    --deep-maroon: #800020;
    --deep-maroon-dark: #5c0017;
    --gold-accent: #D4AF37;
    --gold-light: #E6C55A;
    --gold-dark: #B8860B;
    --cream-bg: #FDF5E6;
    --cream-dark: #F5E6D3;
    --dark-stone: #2D2926;
    --off-white: #FAFAF8;
    --warm-white: #FFF9F0;
    
    /* Semantic Colors */
    --primary: var(--deep-maroon);
    --primary-dark: var(--deep-maroon-dark);
    --secondary: var(--gold-accent);
    --accent: var(--temple-brown);
    --text-dark: var(--dark-stone);
    --text-light: var(--stone-light);
    --text-on-dark: var(--cream-bg);
    --bg-primary: var(--warm-white);
    --bg-secondary: var(--cream-bg);
    
    /* Typography */
    --font-tamil: 'Noto Sans Tamil', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(45, 41, 38, 0.12);
    --shadow-md: 0 4px 12px rgba(45, 41, 38, 0.15);
    --shadow-lg: 0 10px 40px rgba(45, 41, 38, 0.2);
    --shadow-xl: 0 20px 60px rgba(45, 41, 38, 0.25);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* =============== RESET & BASE =============== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-accent);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

/* =============== UTILITIES =============== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============== NAVIGATION =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(45, 41, 38, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--cream-bg);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

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

.nav-link {
    color: rgba(253, 245, 230, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width var(--transition-base);
}

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

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

.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    color: var(--dark-stone);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-link.nav-cta:hover {
    color: var(--dark-stone);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.nav-link.nav-cta::after {
    display: none;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream-bg);
    position: relative;
    transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--cream-bg);
    transition: var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* =============== HERO SECTION =============== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-stone) 0%, var(--deep-maroon-dark) 50%, var(--temple-brown) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(45, 41, 38, 0.4) 100%),
        linear-gradient(180deg, transparent 0%, rgba(45, 41, 38, 0.5) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, var(--gold-accent) 50px, var(--gold-accent) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, var(--gold-accent) 50px, var(--gold-accent) 51px);
    z-index: 1;
}

/* Temple Silhouette Background */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: 
        linear-gradient(to top, rgba(45, 41, 38, 0.9), transparent),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Cpath fill='%23D4AF37' fill-opacity='0.15' d='M0,400 L0,350 L50,350 L50,300 L100,300 L100,280 L120,280 L130,200 L140,200 L150,150 L160,200 L170,200 L180,280 L200,280 L200,300 L250,300 L250,350 L300,350 L300,320 L350,320 L350,280 L380,280 L400,200 L410,100 L420,50 L430,100 L440,200 L460,280 L490,280 L490,320 L540,320 L540,350 L600,350 L600,300 L650,300 L650,250 L680,250 L700,180 L710,100 L720,30 L730,100 L740,180 L760,250 L790,250 L790,300 L840,300 L840,350 L900,350 L900,320 L950,320 L950,280 L980,280 L1000,200 L1010,120 L1020,60 L1030,120 L1040,200 L1060,280 L1090,280 L1090,320 L1140,320 L1140,350 L1200,350 L1200,400 Z'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-xl);
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.title-tamil {
    display: block;
    font-family: var(--font-tamil);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--gold-accent);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.title-english {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--cream-bg);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-tamil);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(253, 245, 230, 0.8);
    margin-bottom: var(--space-xl);
}

.hero-quote {
    margin: var(--space-2xl) auto;
    max-width: 600px;
    padding: var(--space-lg);
    border-left: 3px solid var(--gold-accent);
    background: rgba(212, 175, 55, 0.1);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hero-quote p {
    font-family: var(--font-tamil);
    font-size: 1.15rem;
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.hero-quote cite {
    font-size: 0.9rem;
    color: rgba(253, 245, 230, 0.7);
    font-style: normal;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    color: var(--dark-stone);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    color: var(--dark-stone);
}

.btn-secondary {
    background: transparent;
    color: var(--cream-bg);
    border: 2px solid rgba(253, 245, 230, 0.4);
}

.btn-secondary:hover {
    background: rgba(253, 245, 230, 0.1);
    border-color: var(--cream-bg);
    color: var(--cream-bg);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(253, 245, 230, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(253, 245, 230, 0.6);
    font-size: 0.85rem;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(253, 245, 230, 0.4);
    border-radius: 12px;
    margin: var(--space-sm) auto 0;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold-accent);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* =============== SECTION HEADERS =============== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--cream-bg);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border: 1px solid var(--gold-accent);
    color: var(--gold-dark);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.section-header.light .section-badge {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-accent);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =============== ABOUT SECTION =============== */
.about {
    background: var(--bg-secondary);
}

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

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.about-card {
    background: var(--warm-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-base);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-accent);
}

.about-card .om-symbol,
.about-card .temple-icon,
.about-card .lamp-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.about-card h3 {
    font-size: 1.25rem;
    color: var(--deep-maroon);
    margin-bottom: var(--space-sm);
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Visual Frame */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--temple-brown) 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-frame::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px solid var(--gold-accent);
    border-radius: var(--radius-lg);
    opacity: 0.5;
}

.temple-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cpath fill='%23D4AF37' fill-opacity='0.3' d='M0,300 L0,250 L30,250 L30,200 L60,200 L80,150 L100,100 L110,50 L120,20 L130,50 L140,100 L160,150 L180,200 L210,200 L210,180 L240,180 L260,130 L280,80 L290,40 L300,80 L320,130 L340,180 L370,180 L370,200 L400,200 L400,300 Z'/%3E%3C/svg%3E") center bottom / contain no-repeat;
}

.decorative-border {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decorative-border::after {
    content: 'ॐ';
    font-size: 2.5rem;
    color: var(--gold-accent);
    font-family: var(--font-tamil);
}

/* =============== HERITAGE SECTION =============== */
.heritage {
    background: linear-gradient(135deg, var(--dark-stone) 0%, var(--deep-maroon-dark) 100%);
    position: relative;
    overflow: hidden;
}

.heritage-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(45deg, var(--gold-accent) 0, var(--gold-accent) 1px, transparent 0, transparent 50%);
    background-size: 30px 30px;
}

.heritage-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.heritage-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.heritage-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-accent);
    transform: translateY(-5px);
}

.heritage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
}

.heritage-card h3 {
    color: var(--cream-bg);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.heritage-card p {
    color: rgba(253, 245, 230, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.heritage-quote blockquote {
    display: inline-block;
    padding: var(--space-xl) var(--space-2xl);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-accent);
    border-radius: var(--radius-lg);
}

.heritage-quote p {
    font-family: var(--font-tamil);
    font-size: 1.25rem;
    color: var(--gold-accent);
    margin-bottom: var(--space-sm);
}

.heritage-quote cite {
    color: rgba(253, 245, 230, 0.7);
    font-size: 0.9rem;
    font-style: italic;
}

/* =============== FEATURES SECTION =============== */
.features {
    background: var(--bg-primary);
}

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

.feature-card {
    background: var(--warm-white);
    border: 1px solid rgba(128, 0, 32, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-maroon), var(--gold-accent));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-accent);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream-bg));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--deep-maroon);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.feature-list {
    text-align: left;
    padding-left: var(--space-md);
}

.feature-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xs);
    font-size: 0.85rem;
    color: var(--text-dark);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-dark);
    font-weight: bold;
}

/* =============== SCREENSHOTS SECTION =============== */
.screenshots {
    background: var(--bg-secondary);
    overflow: hidden;
}

.screenshots-wrapper {
    overflow: hidden;
    padding: var(--space-xl) 0;
}

.screenshots-carousel {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    flex-wrap: wrap;
}

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

.phone-frame {
    width: 220px;
    height: 450px;
    background: var(--dark-stone);
    border-radius: 36px;
    padding: 10px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--warm-white);
    border-radius: 28px;
    overflow: hidden;
}

/* Mock Screens */
.mock-screen {
    height: 100%;
    padding: 40px 12px 12px;
}

.mock-header {
    background: linear-gradient(135deg, var(--deep-maroon), var(--temple-brown));
    padding: 15px;
    margin: -40px -12px 12px;
    text-align: center;
}

.mock-title {
    color: var(--cream-bg);
    font-size: 0.9rem;
    font-weight: 600;
}

.mock-card {
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    height: 100px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mock-item {
    background: var(--cream-dark);
    height: 60px;
    border-radius: var(--radius-sm);
}

.mock-search {
    background: var(--cream-dark);
    height: 36px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.mock-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-temple {
    background: var(--cream-dark);
    height: 70px;
    border-radius: var(--radius-md);
}

.mock-header-image {
    height: 150px;
    background: linear-gradient(135deg, var(--deep-maroon), var(--temple-brown));
    margin: -40px -12px 12px;
}

.mock-detail-title {
    background: var(--cream-dark);
    height: 24px;
    width: 80%;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.mock-detail-info {
    background: var(--cream-dark);
    height: 16px;
    width: 60%;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.mock-detail-desc {
    background: var(--cream-dark);
    height: 80px;
    border-radius: var(--radius-sm);
}

.mock-calendar {
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    height: 120px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.mock-events {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-event {
    background: var(--cream-dark);
    height: 50px;
    border-radius: var(--radius-sm);
}

.mock-map {
    background: linear-gradient(135deg, #e8e4d9, #d4d0c5);
    height: 150px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.mock-route {
    background: var(--cream-dark);
    height: 60px;
    border-radius: var(--radius-md);
}

.screenshot-label {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* =============== WHY APP SECTION =============== */
.why-app {
    background: var(--bg-primary);
}

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

.why-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.why-card:hover {
    border-color: var(--gold-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.why-card h3 {
    font-size: 1.15rem;
    color: var(--deep-maroon);
    margin-bottom: var(--space-sm);
}

.why-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =============== DOWNLOAD CTA SECTION =============== */
.download-cta {
    background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--deep-maroon-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23D4AF37' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--cream-bg);
    margin-bottom: var(--space-sm);
}

.cta-tamil {
    font-family: var(--font-tamil);
    color: var(--gold-accent);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.cta-content > p {
    color: rgba(253, 245, 230, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.cta-buttons {
    margin-bottom: var(--space-xl);
}

.app-rating {
    color: rgba(253, 245, 230, 0.8);
    font-size: 0.95rem;
}

.stars {
    color: var(--gold-accent);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

/* =============== FOOTER =============== */
.footer {
    background: var(--dark-stone);
    color: var(--cream-bg);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-maroon), var(--gold-accent), var(--temple-brown), var(--gold-accent), var(--deep-maroon));
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    color: rgba(253, 245, 230, 0.7);
    margin-bottom: var(--space-lg);
}

.footer-quote {
    border-left: 2px solid var(--gold-accent);
    padding-left: var(--space-md);
    font-style: italic;
}

.footer-quote p {
    font-family: var(--font-tamil);
    color: var(--gold-accent);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-connect h4 {
    color: var(--gold-accent);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(253, 245, 230, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(253, 245, 230, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-bg);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gold-accent);
    color: var(--dark-stone);
    transform: translateY(-3px);
}

.contact-info p {
    color: rgba(253, 245, 230, 0.7);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.contact-info a {
    color: var(--gold-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(253, 245, 230, 0.1);
}

.footer-bottom p {
    color: rgba(253, 245, 230, 0.6);
    font-size: 0.9rem;
}

.made-with {
    margin-top: var(--space-sm);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark-stone);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        padding: var(--space-xl);
        transition: right var(--transition-base);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-visual {
        order: -1;
    }
    
    .visual-frame {
        max-width: 300px;
    }
    
    .heritage-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-carousel {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 var(--space-lg);
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .screenshot-item {
        flex-shrink: 0;
        scroll-snap-align: center;
    }
    
    .phone-frame {
        width: 180px;
        height: 370px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-quote {
        border-left: none;
        padding-left: 0;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3rem;
    }
    
    .hero-stats {
        gap: var(--space-xl);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-card {
        padding: var(--space-lg);
    }
    
    .feature-card {
        padding: var(--space-lg);
    }
    
    .heritage-card {
        padding: var(--space-lg);
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .scroll-indicator,
    .download-cta,
    .footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem;
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
