/* ===========================
   Design System - The Covenant Garden
   Premium Purple Gradient Theme
   =========================== */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Primary Colors - New Purple Gradient Palette */
    --color-primary: #2d1e2f;
    --color-primary-light: #4e2a4f;
    --color-primary-dark: #1a0e1f;

    /* Secondary Colors - Enhanced Purple Tones */
    --color-secondary: #8b6b8f;
    --color-secondary-light: #c8b5ca;
    --color-secondary-dark: #5d3d60;

    /* Accent Colors */
    --color-accent: #FFD700;
    --color-accent-dark: #DAA520;
    --color-accent-light: #FFE44D;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #eeeeee;
    --color-gray-300: #e0e0e0;
    --color-gray-400: #bdbdbd;
    --color-gray-500: #9e9e9e;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;

    /* Semantic Colors */
    --color-success: #4caf50;
    --color-error: #f44336;
    --color-warning: #ff9800;
    --color-info: #2196f3;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #faf8fb;
    --bg-tertiary: #f5f0f6;
    --bg-dark: linear-gradient(135deg, #2d1e2f 0%, #4e2a4f 100%);

    /* Text Colors */
    --text-primary: #1a0e15;
    --text-secondary: #6b5a64;
    --text-tertiary: #9a8a92;
    --text-inverse: var(--color-white);

    /* Border Colors */
    --border-light: #e8dfe9;
    --border-medium: #d4c0d6;
    --border-dark: var(--color-primary);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2d1e2f 0%, #4e2a4f 100%);
    --gradient-secondary: linear-gradient(135deg, #8b6b8f 0%, #c8b5ca 100%);
    --gradient-accent: linear-gradient(135deg, #9b59b6 0%, #7d3c98 100%);
    --gradient-hero: linear-gradient(135deg, #2d1e2f 0%, #3d2540 40%, #4e2a4f 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(45, 30, 47, 0.08);
    --shadow-sm: 0 2px 4px rgba(45, 30, 47, 0.12);
    --shadow-md: 0 4px 12px rgba(45, 30, 47, 0.16);
    --shadow-lg: 0 8px 24px rgba(45, 30, 47, 0.2);
    --shadow-xl: 0 16px 48px rgba(45, 30, 47, 0.24);
    --shadow-glow: 0 0 40px rgba(155, 89, 182, 0.4);
    --shadow-gold: 0 4px 20px rgba(155, 89, 182, 0.35);

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;

    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-6);
}

/* ===========================
   Reset & Base Styles
   =========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ===========================
   Layout Components
   =========================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

/* ===========================
   Typography Components
   =========================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    /* color: var(--color-accent); */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 228, 77, 0.15));
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    margin: var(--space-4) auto 0;
    border-radius: var(--radius-full);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ===========================
   Floating WhatsApp Button
   =========================== */
.whatsapp-float {
    position: fixed;
    left: var(--space-6);
    bottom: var(--space-6);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all var(--transition-base);
    overflow: hidden;
}

.whatsapp-float:hover {
    width: 180px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
}

.whatsapp-float i {
    font-size: 2rem;
    transition: all var(--transition-base);
}

.whatsapp-float:hover i {
    font-size: 1.5rem;
    margin-right: var(--space-2);
}

.whatsapp-text {
    display: none;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-text {
    display: inline;
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        left: var(--space-4);
        bottom: var(--space-4);
    }

    .whatsapp-float i {
        font-size: 1.5rem;
    }

    .whatsapp-float:hover {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .whatsapp-float:hover i {
        font-size: 1.5rem;
        margin-right: 0;
    }

    .whatsapp-text {
        display: none !important;
    }
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/res/images/background.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(155, 89, 182, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 107, 143, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%239b59b6" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(45, 30, 47, 0.5) 100%);
}

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

.hero-logo {
    padding: var(--space-8);
    background: rgba(0, 0, 20, 0.4);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    margin: 0 auto var(--space-8);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}


.hero-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--color-accent);
    background: rgba(155, 89, 182, 0.25);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    border: 1px solid rgba(155, 89, 182, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, var(--text-6xl));
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    letter-spacing: var(--tracking-wide);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.hero-title-small {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-widest);
    color: var(--color-accent);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title-main {
    background: linear-gradient(180deg, #ffffff 0%, #bb8fce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, var(--text-xl));
    font-weight: var(--font-light);
    color: var(--color-secondary-light);
    margin-bottom: var(--space-10);
    line-height: var(--leading-relaxed);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-verse {
    max-width: 750px;
    margin: 0 auto var(--space-12);
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(155, 89, 182, 0.3);
    position: relative;
    box-shadow: 0 8px 32px rgba(45, 30, 47, 0.3);
}

.hero-verse::before,
.hero-verse::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.hero-verse::before {
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-verse::after {
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-verse blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, var(--text-xl));
    font-style: italic;
    color: var(--color-white);
    line-height: var(--leading-relaxed);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

/* ===========================
   Button Components
   =========================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-10);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: #ffffff;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    box-shadow: 0 6px 24px rgba(155, 89, 182, 0.4), var(--shadow-md);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(155, 89, 182, 0.6), var(--shadow-lg);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-bounce);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--color-secondary);
}

/* ===========================
   Introduction Section
   =========================== */
.intro-section {
    background: #ffffff;
}

.intro-content {
    max-width: 850px;
    margin: 0 auto;
}

.intro-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: var(--leading-loose);
}

.intro-text strong {
    color: var(--color-primary);
    font-weight: var(--font-semibold);
}

.intro-highlight {
    background: linear-gradient(135deg, #f5f0f6, #faf8fb);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--color-accent);
    margin-top: var(--space-10);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.intro-highlight p {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ===========================
   Coming Soon Section
   =========================== */
.coming-soon-section {
    background: linear-gradient(135deg, #f5f0f6 0%, #faf8fb 100%);
    padding: var(--space-20) 0;
    position: relative;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(155, 89, 182, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 107, 143, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.benefits-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefits-intro {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefits-list li {
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-5);
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
}

/* ===========================
   Focus Section (Why TCG)
   =========================== */
.focus-section {
    background: linear-gradient(135deg, #2d1e2f 0%, #4e2a4f 100%);
    position: relative;
}

.focus-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 30% 70%, rgba(155, 89, 182, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(139, 107, 143, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.focus-section .container {
    position: relative;
    z-index: 1;
}

.focus-section .section-label {
    background: rgba(155, 89, 182, 0.3);
    color: #bb8fce;
    border-color: rgba(155, 89, 182, 0.5);
}

.focus-section .section-title {
    color: #ffffff;
}

.focus-section .section-title::after {
    background: var(--gradient-accent);
}

.focus-section .section-description {
    color: rgba(255, 255, 255, 0.85);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.focus-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--space-10) var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(155, 89, 182, 0.2);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(155, 89, 182, 0.4), 0 0 0 1px rgba(155, 89, 182, 0.3);
    border-color: var(--color-accent);
}

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

.focus-icon {
    font-size: 3rem;
    margin-bottom: var(--space-5);
    display: block;
}

.focus-icon i {
    font-size: 3rem;
}

.focus-icon .fa-globe-americas {
    color: #3498db;
}

.focus-icon .fa-heart {
    color: #e74c3c;
}

.focus-icon .fa-users {
    color: #f39c12;
}

.focus-icon .fa-gem {
    color: #9b59b6;
}

.focus-icon .fa-cross {
    color: #c0a24d;
}

.focus-icon .fa-book {
    color: #16a085;
}

.focus-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.focus-card p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.focus-footer {
    text-align: center;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   Prayer Section
   =========================== */
.prayer-section {
    background: #ffffff;
}

.prayer-section .section-title {
    color: var(--color-primary);
}

.prayer-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #faf8fb, #ffffff);
    padding: var(--space-12);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(45, 30, 47, 0.1);
    position: relative;
}

.prayer-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.prayer-intro-text {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin-bottom: var(--space-5);
}

.prayer-list {
    margin: var(--space-6) 0;
    padding-left: var(--space-6);
}

.prayer-list li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.prayer-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.prayer-note {
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    padding: var(--space-4);
    background: rgba(155, 89, 182, 0.12);
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
    border-left: 3px solid var(--color-accent);
}

.prayer-cta {
    text-align: center;
    margin-top: var(--space-8);
}

/* ===========================
   Connected Section
   =========================== */
.connected-section {
    background: linear-gradient(135deg, #2d1e2f 0%, #4e2a4f 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.connected-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 30% 70%, rgba(155, 89, 182, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(139, 107, 143, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.connected-section .container {
    position: relative;
    z-index: 1;
}

.connected-section .section-label {
    background: rgba(155, 89, 182, 0.3);
    color: #bb8fce;
    border-color: rgba(155, 89, 182, 0.5);
}

.connected-section .section-title {
    color: var(--color-white);
}

.connected-section .section-title::after {
    background: var(--gradient-accent);
}

.connected-section .section-description {
    color: rgba(255, 255, 255, 0.85);
}

.connected-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.connected-list {
    margin: var(--space-8) 0;
}

.connected-list li {
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-5);
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
}

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

.connected-cta-text {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    text-align: center;
    color: var(--color-white);
    margin-top: var(--space-10);
}

/* ===========================
   Form Section
   =========================== */
.form-section {
    background: #ffffff;
    scroll-margin-top: var(--space-10);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.tcg-form {
    background: linear-gradient(135deg, #ffffff, #faf8fb);
    padding: var(--space-12);
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 32px rgba(45, 30, 47, 0.12);
    border: 1px solid var(--border-light);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-required {
    color: var(--color-error);
}

.form-optional {
    font-weight: var(--font-regular);
    color: var(--text-tertiary);
    font-size: var(--text-xs);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: #ffffff;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(155, 89, 182, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding: var(--space-4);
    background: #faf8fb;
    border-radius: var(--radius-lg);
    transition: background var(--transition-base);
    border: 1px solid transparent;
}


.checkbox-input {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    cursor: pointer;
}

.form-helper-text {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: var(--space-1);
    margin-bottom: var(--space-2);
    font-style: italic;
}

.consent-notice {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.08), rgba(200, 181, 202, 0.08));
    border: 1px solid rgba(139, 107, 143, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.consent-notice h4 {
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    font-weight: var(--font-bold);
}

.consent-notice p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.consent-notice p:last-child {
    margin-bottom: 0;
}

.consent-notice strong {
    color: var(--color-primary);
}

.form-message {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    text-align: center;
    font-weight: var(--font-semibold);
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.form-submit {
    width: 100%;
    padding: var(--space-5);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.form-submit:hover::before {
    width: 400px;
    height: 400px;
}

.form-submit:active {
    transform: translateY(-1px);
}

/* ===========================
   Closing Section
   =========================== */
.closing-section {
    background: linear-gradient(135deg, #2d1e2f 0%, #4e2a4f 100%);
    padding: var(--space-20) 0;
    position: relative;
}

.closing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 50% 50%, rgba(155, 89, 182, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

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

.closing-text {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.closing-emphasis {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: #ffffff;
    margin: var(--space-10) 0;
    position: relative;
    display: inline-block;
}

.closing-emphasis::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: var(--radius-full);
}

.closing-invitation {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    background: linear-gradient(135deg, #ffffff, #bb8fce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: var(--space-4);
    filter: brightness(0) invert(1);
}

.footer-brand h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, #bb8fce, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: #bb8fce;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    :root {
        --container-padding: var(--space-5);
    }

    .section {
        padding: var(--space-16) 0;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-4);
    }

    .section {
        padding: var(--space-12) 0;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .hero-content {
        padding: var(--space-6);
    }


    .hero-verse {
        padding: var(--space-6);
    }

    .focus-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tcg-form {
        padding: var(--space-8);
    }

    .prayer-content {
        padding: var(--space-8);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: var(--text-2xl);
    }

    .btn-primary,
    .btn-secondary {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-sm);
    }

    .tcg-form {
        padding: var(--space-6);
    }

    .closing-emphasis {
        font-size: var(--text-2xl);
    }

    .closing-invitation {
        font-size: var(--text-xl);
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Apply animations on scroll (can be enhanced with JS) */
.section-header,
.intro-content,
.focus-card,
.prayer-content,
.connected-content,
.form-wrapper,
.closing-content {
    animation: fadeInUp 0.6s ease-out;
}

/* ===========================
   Accessibility
   =========================== */
@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;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: none;
        --shadow-md: none;
        --shadow-lg: none;
    }

    .focus-card,
    .tcg-form,
    .prayer-content {
        border-width: 2px;
    }
}

/* ===========================
   Legal Pages Styling
   =========================== */
.legal-section {
    background: #ffffff;
    padding: var(--space-20) 0 var(--space-24);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: var(--space-16);
    padding-bottom: var(--space-8);
    border-bottom: 2px solid var(--border-light);
}

.legal-title {
    font-size: clamp(2rem, 5vw, var(--text-5xl));
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.legal-effective-date {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    font-style: italic;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: var(--space-12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.legal-intro {
    font-size: var(--text-lg);
    color: var(--text-primary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-12);
    padding: var(--space-6);
    background: linear-gradient(135deg, #f5f0f6, #faf8fb);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
}

.legal-section-item {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--border-light);
}

.legal-section-item:last-of-type {
    border-bottom: none;
}

.legal-section-item h2 {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.legal-section-item p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.legal-section-item ul {
    list-style: disc;
    padding-left: var(--space-8);
    margin-bottom: var(--space-4);
}

.legal-section-item ul li {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.legal-section-item ul li strong {
    color: var(--color-primary);
    font-weight: var(--font-semibold);
}

.legal-section-item a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.legal-section-item a:hover {
    color: var(--color-accent);
}

.legal-acknowledgment {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(200, 181, 202, 0.1));
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-primary);
    margin: var(--space-10) 0;
    text-align: center;
}

.legal-acknowledgment p {
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin: 0;
}

.legal-footer {
    text-align: center;
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 2px solid var(--border-light);
}

.legal-footer p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.legal-footer p strong {
    color: var(--color-primary);
    font-size: var(--text-lg);
}

.legal-back-link {
    text-align: center;
    margin-top: var(--space-12);
}

.legal-back-link .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

/* ===========================
   Error Pages Styling
   =========================== */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, 
        var(--color-primary) 0%, 
        var(--color-secondary) 50%, 
        var(--color-primary) 100%);
    position: relative;
}

.error-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(155, 89, 182, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 181, 202, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.error-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-2xl);
    padding: var(--space-16) var(--space-8);
    max-width: 700px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.error-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.error-icon i {
    font-size: 4rem;
    color: #ffffff;
}

.error-icon-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.error-code {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
}

.error-message {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    padding: 0 var(--space-4);
}

.error-suggestion {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    padding: 0 var(--space-4);
}

.error-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.error-actions .btn-primary,
.error-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 180px;
    justify-content: center;
}

.error-help {
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-light);
    margin-top: var(--space-6);
}

.error-help p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.error-help a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.error-help a:hover {
    color: var(--color-accent);
}

.error-help strong {
    color: var(--color-primary);
    font-weight: var(--font-semibold);
    font-family: var(--font-mono);
}

.error-timestamp {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-style: italic;
}

@media (max-width: 768px) {
    .error-content {
        padding: var(--space-12) var(--space-6);
        margin: var(--space-4);
    }

    .error-icon {
        width: 100px;
        height: 100px;
    }

    .error-icon i {
        font-size: 3rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-actions .btn-primary,
    .error-actions .btn-secondary {
        width: 100%;
    }
}

/* ===========================
   Unsubscribe Page Styling
   =========================== */
.unsubscribe-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, 
        var(--color-primary) 0%, 
        var(--color-secondary) 50%, 
        var(--color-primary) 100%);
    position: relative;
}

.unsubscribe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(155, 89, 182, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 181, 202, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.unsubscribe-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-2xl);
    padding: var(--space-16) var(--space-8);
    max-width: 600px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.success-icon,
.info-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.info-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.error-icon-box {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.success-icon i,
.info-icon i,
.error-icon-box i {
    font-size: 3rem;
    color: #ffffff;
}

.unsubscribe-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.unsubscribe-message {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.unsubscribe-email {
    font-size: var(--text-base);
    color: var(--text-primary);
    padding: var(--space-4);
    background: rgba(155, 89, 182, 0.05);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.unsubscribe-note {
    font-size: var(--text-base);
    color: var(--text-tertiary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.unsubscribe-form {
    margin-top: var(--space-8);
}

.unsubscribe-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-6);
}

.unsubscribe-actions .btn-primary,
.unsubscribe-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 200px;
    justify-content: center;
}

.alert {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-top: var(--space-4);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #c0392b;
}

@media (max-width: 768px) {
    .unsubscribe-content {
        padding: var(--space-12) var(--space-6);
        margin: var(--space-4);
    }

    .unsubscribe-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .unsubscribe-actions .btn-primary,
    .unsubscribe-actions .btn-secondary {
        width: 100%;
    }
}
