:root {
    --primary-color: #60a5fa;
    --primary-dark: #3b82f6;
    --secondary-color: #34d399;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --border-color: #334155;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--gradient-3);
    top: 50%;
    right: 10%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    margin-top: 64px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
    line-height: 1.1;
}

.stat:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Section */
.about {
    background-color: var(--bg-secondary);
}

.about-card {
    background: var(--bg-tertiary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.about-card {
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Reasons Section */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.reason-card {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.reason-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.reason-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.3;
}

.reason-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

.final-line {
    color: var(--secondary-color);
    display: block;
    margin-top: 8px;
    font-size: 1.1em;
}

.checkmark {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2em;
    display: inline-block;
    margin-right: 12px;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
    animation: checkmarkPulse 2s ease-in-out infinite;
}

@keyframes checkmarkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.criteria-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.criteria-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.criteria-checkmark {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.5);
    animation: checkmarkPulse 2s ease-in-out infinite;
}

.criteria-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.criteria-text strong {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    display: block;
}

.criteria-text span {
    color: var(--text-secondary);
    font-size: 14px;
}

.criteria-closing {
    margin-top: 24px;
    font-style: italic;
    color: var(--text-secondary);
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.quote-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.quote-intro {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-text {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.5;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
    letter-spacing: 0.3px;
}

.quote-impact {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    max-width: 900px;
    margin: 32px auto 0;
    line-height: 1.4;
}

.highlight-phrase {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15em;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

/* Community Section */
.community {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
}

.community-text h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.community-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.community-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-primary);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(360deg);
    background: var(--secondary-color);
}

/* Costs Section */
.costs-section {
    background-color: var(--bg-primary);
    padding: 100px 0;
}

.costs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.cost-card {
    background: var(--bg-tertiary);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cost-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.5s ease;
}

.cost-card:hover::before {
    left: 100%;
}

.cost-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(96, 165, 250, 0.3);
    border-color: var(--primary-color);
}

.cost-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.cost-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.cost-number {
    margin-top: 16px;
}

.cost-amount {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
}

.costs-total {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 24px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.2);
}

.costs-total h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.total-amount {
    margin: 32px 0;
}

.total-number {
    font-size: clamp(56px, 10vw, 120px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
    display: inline-block;
    line-height: 1.1;
    text-shadow: 0 0 50px rgba(52, 211, 153, 0.4);
}

.total-note {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 24px;
    font-style: italic;
}

/* Hashtag Section */
.hashtag-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.campaign-text {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
    letter-spacing: -0.5px;
}

.just-say-no {
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-block;
    animation: gentleBounce 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
    position: relative;
}

.just-say-no::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    animation: gentleUnderline 3s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.01);
    }
}

@keyframes gentleUnderline {
    0%, 100% {
        opacity: 0.7;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.85;
        transform: scaleX(1.02);
    }
}

.hashtag {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.3);
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

.hashtag::before {
    content: '#ProudtobeaTown';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Footer */
.footer {
    background-color: #020617;
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 14px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-card {
        padding: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .about-card,
    .reason-card {
        padding: 24px;
    }
}

/* Hero animations */
.hero-title {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

.must-highlight {
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-block;
    animation: gentlePulse 3s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* Enhanced card hover effects */
.about-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(96, 165, 250, 0.2);
    border-color: var(--primary-color);
}

.reason-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(96, 165, 250, 0.3);
    border-color: var(--primary-color);
}

/* Scroll-triggered animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Faster animation for reasons section header */
#reasons .section-header {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

#reasons .section-header .section-subtitle {
    transition: opacity 0.4s ease-out 0.1s, transform 0.4s ease-out 0.1s;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Smooth scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .about-card,
    .reason-card {
        opacity: 0;
        transform: translateY(20px);
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

