/*
Theme Name: Tofaani
Theme URI: https://tofaani.com
Author: Tofaani
Author URI: https://tofaani.com
Description: A 3D glass AI futuristic WordPress theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tofaani
*/

/* ============================================
   DESIGN SYSTEM - CSS VARIABLES
   ============================================ */
:root {
    /* Colors - Light, Crystal, Futuristic */
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-light-gray: #e8eaed;
    --color-gray: #5f6368;
    --color-dark: #202124;
    --color-text: #202124;
    --color-text-light: #5f6368;
    
    /* Crystal Blue/Cyan Accents */
    --color-primary: #4285f4;
    --color-primary-light: #669df6;
    --color-primary-dark: #1967d2;
    --color-accent: #00bcd4;
    --color-accent-light: #4dd0e1;
    
    /* Glass Effects - Apple Style - More Prominent */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-bg-light: rgba(255, 255, 255, 0.15);
    --glass-bg-heavy: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-light: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    --glass-shadow-hover: 0 16px 64px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    --font-size-4xl: 64px;
    
    --line-height-base: 1.6;
    --line-height-tight: 1.2;
    
    /* Effects - Apple Style - More Prominent Blur */
    --blur-sm: 30px;
    --blur-md: 50px;
    --blur-lg: 70px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
    
    /* Transitions - Apple Style Smooth */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 6rem 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: var(--line-height-tight);
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

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

a:hover {
    color: var(--color-primary-dark);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* ============================================
   GLASS MORPHISM COMPONENTS - APPLE STYLE
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-md)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-md)) saturate(200%);
    border: 1.5px solid var(--glass-border);
    border-radius: 24px;
    padding: var(--spacing-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.8) 80%,
        transparent 100%);
    opacity: 0.8;
    z-index: 1;
}

.glass-card h3,
.glass-card p,
.glass-card a {
    position: relative;
    z-index: 1;
}


.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.5) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8;
}

.glass-card:hover::after {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.5) 100%);
}

.glass-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--glass-shadow-hover);
    background: var(--glass-bg-heavy);
    border-color: var(--glass-border-light);
    backdrop-filter: blur(var(--blur-lg)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(200%);
}

.glass-card:hover::before {
    opacity: 1;
    height: 3px;
}

.glass-card:hover h3,
.glass-card:hover p,
.glass-card:hover a {
    color: inherit;
}

.glass-panel {
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--blur-sm)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-sm)) saturate(200%);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--spacing-md);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.7) 50%, 
        transparent 100%);
    opacity: 0.7;
}

.glass-panel:hover {
    border-color: var(--glass-border-light);
    backdrop-filter: blur(var(--blur-md)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-md)) saturate(200%);
    box-shadow: var(--glass-shadow-hover);
}

/* ============================================
   REVEAL ANIMATION SYSTEM - APPLE STYLE SMOOTH
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.reveal-fade.revealed {
    opacity: 1;
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-slide-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   HEADER - GLASS EFFECT
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--blur-md)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-md)) saturate(200%);
    border-bottom: 1.5px solid var(--glass-border);
    padding: var(--spacing-sm) 0;
    z-index: 1000;
    transition: all var(--transition-base);
    will-change: background, backdrop-filter;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
    background: var(--glass-bg-heavy);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--glass-border-light);
    backdrop-filter: blur(var(--blur-lg)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(200%);
}

.site-header .site-title,
.site-header .site-navigation a {
    position: relative;
    z-index: 1;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Menu Toggle Button (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-toggle-line {
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.site-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.site-logo {
    margin: 0;
    line-height: 1;
}

.site-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.site-logo a:hover {
    opacity: 0.8;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 225px;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-base);
}

.site-logo a:hover .logo-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-image {
        height: 45px;
        max-width: 175px;
    }
    
    .connect-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.site-navigation {
    position: relative;
}

.site-navigation .menu,
.site-navigation ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    margin: 0;
    padding: 0;
}

.site-navigation .menu li,
.site-navigation ul li {
    position: relative;
    margin: 0;
}

.site-navigation a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 12px;
    position: relative;
    display: block;
    transition: all var(--transition-base);
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    overflow: hidden;
}

.site-navigation a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    border-radius: 12px;
    opacity: 0;
    transition: all var(--transition-base);
    z-index: -1;
}

.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.site-navigation a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.site-navigation a:hover::before {
    opacity: 1;
    border-color: var(--glass-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.site-navigation a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a {
    color: var(--color-primary);
}

.site-navigation .current-menu-item > a::before,
.site-navigation .current_page_item > a::before {
    opacity: 1;
    background: var(--glass-bg);
    border-color: var(--glass-border-light);
}

.site-navigation .current-menu-item > a::after,
.site-navigation .current_page_item > a::after {
    transform: translateX(-50%) scaleX(1);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.site-main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* ============================================
   POST STYLES
   ============================================ */
.post {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-light-gray);
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
}

.post-title a {
    text-decoration: none;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.post-title a:hover {
    color: var(--color-primary);
}

.post-meta {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.post-content {
    margin-top: var(--spacing-md);
}

/* ============================================
   ARCHIVE & SEARCH HEADER
   ============================================ */
.archive-header,
.search-header {
    margin-bottom: var(--spacing-lg);
}

.archive-title,
.search-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
}

.archive-description {
    color: var(--color-text-light);
    margin-top: var(--spacing-sm);
}

/* ============================================
   ERROR 404 STYLES
   ============================================ */
.error-404 {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.error-title {
    font-size: 72px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.error-heading {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   SEARCH FORM STYLES
   ============================================ */
.search-form {
    margin: var(--spacing-md) 0;
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    font-size: var(--font-size-base);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.search-form input[type="submit"] {
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.search-form input[type="submit"]:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.no-posts {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.no-posts h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.no-posts p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   FOOTER - GLASS EFFECT
   ============================================ */
.site-footer {
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--blur-sm)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-sm)) saturate(200%);
    border-top: 1.5px solid var(--glass-border);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-xl);
    color: var(--color-text-light);
    position: relative;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    margin: 0;
}

.footer-copyright p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin: 0;
    text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-sm)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-sm)) saturate(180%);
    color: var(--color-text);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--glass-bg-light);
    color: var(--color-text);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--glass-border-light);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
    color: var(--color-text);
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */

/* Hero Section - Apple Style */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    filter: blur(60px);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.06) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
}

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

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, 
        #202124 0%, 
        #4285f4 25%, 
        #00bcd4 50%, 
        #4285f4 75%, 
        #1967d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    filter: brightness(1.05);
}

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

.hero-title-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    width: auto;
    display: block;
    margin: 0 auto var(--spacing-md);
    object-fit: contain;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Problem Section */
.problem-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(66, 133, 244, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.problem-content .glass-card p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.problem-content .glass-card p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--color-text);
}

/* Vision Section */
.vision-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
    position: relative;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(66, 133, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* Founder Section */
.founder-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 188, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

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

.founder-content .glass-panel p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.founder-content .glass-panel p:last-of-type {
    margin-bottom: var(--spacing-lg);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(66, 133, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.section-header h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(66, 133, 244, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

/* Roadmap Section */
.roadmap-section {
    background: linear-gradient(135deg, #e8eaed 0%, #f8f9fa 100%);
    position: relative;
}

.roadmap-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(66, 133, 244, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.roadmap-preview {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Newsletter Section */
.connect-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.connect-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(66, 133, 244, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.connect-grid .glass-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px;
}

.connect-grid .glass-card h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.connect-grid .glass-card p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    flex-grow: 0;
}

.connect-grid .glass-card .btn {
    margin-top: 0;
    display: inline-block;
}

.connect-grid .glass-card:not(:has(.newsletter-form)) p {
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    min-height: 50px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    padding: 10px 14px;
    font-size: var(--font-size-sm);
}

.newsletter-form button[type="submit"] {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.connect-grid .glass-card .btn {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    font-size: var(--font-size-base);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.newsletter-success {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(66, 133, 244, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    color: var(--color-primary);
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #e8eaed 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(66, 133, 244, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(0, 188, 212, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */

/* Page Hero Section */
.page-hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #fafafa 50%, 
        #f5f5f7 100%);
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.06) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    filter: blur(60px);
}

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

.page-hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Mission & Vision Section (Merged) */
.mission-vision-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.mission-vision-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mission-vision-content .glass-card p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: 0;
}

.mission-vision-content .glass-card h2 {
    margin-bottom: var(--spacing-md);
}

/* Vision Content (About Page) */
.vision-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-content .glass-card h2 {
    margin-bottom: var(--spacing-md);
}

.vision-content .glass-card p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.vision-content .glass-card p:last-child {
    margin-bottom: 0;
}

.vision-content .glass-card p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.vision-content .glass-card p:last-child {
    margin-bottom: 0;
}

/* Founder Story Section */
.founder-story-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.founder-story-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.founder-story-content .glass-card p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Why Section */
.why-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

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

.why-content .glass-panel p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Vision Section (About Page) */
.vision-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(66, 133, 244, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Vision Preview Section (Deprecated - keeping for compatibility) */
.vision-preview-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.vision-preview-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Vision Statement Section */
.vision-statement-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.vision-statement-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-statement-content .glass-card p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Future Section */
.future-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
    position: relative;
}

.future-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(66, 133, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* Journey Section */
.journey-section {
    background: linear-gradient(180deg, #e8eaed 0%, #f8f9fa 100%);
    position: relative;
}

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

.journey-content .glass-panel p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Current Status Section */
.current-status-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.current-status-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.current-status-content .glass-card p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(66, 133, 244, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(0, 188, 212, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.timeline-item {
    margin-bottom: var(--spacing-lg);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* Updates Section */
.updates-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

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

.updates-content .glass-panel p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* CTA Section */

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form-content,
.contact-info-content {
    position: relative;
}

.contact-form-wrapper .glass-card,
.contact-form-wrapper .glass-panel {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
}

.contact-form-content .glass-card h2,
.contact-info-content .glass-panel h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.contact-form-content .glass-card p,
.contact-info-content .glass-panel p:first-of-type {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .contact-form-content .glass-card h2,
    .contact-info-content .glass-panel h3 {
        white-space: normal;
    }
}

.contact-form {
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--color-text);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1), var(--shadow-md);
    background: var(--glass-bg);
}

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

.contact-form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.contact-form-message.success {
    background: rgba(76, 175, 80, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.contact-form-message.error {
    background: rgba(244, 67, 54, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.contact-info-item {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--glass-border);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item h4 {
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin-top: 0.25rem;
}

.contact-info-item h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.contact-info-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Responsive Contact Form */
@media (max-width: 968px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 40px;
        --font-size-3xl: 32px;
        --font-size-2xl: 24px;
        --section-padding: 4rem 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .site-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--glass-bg-heavy);
        backdrop-filter: blur(var(--blur-lg)) saturate(200%);
        -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(200%);
        border-left: 1.5px solid var(--glass-border);
        box-shadow: -4px 0 32px rgba(0, 0, 0, 0.15);
        transition: right var(--transition-base);
        z-index: 1000;
        padding: 80px var(--spacing-md) var(--spacing-md);
        overflow-y: auto;
    }
    
    .site-navigation.active {
        right: 0;
    }
    
    .site-navigation .menu,
    .site-navigation ul {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: stretch;
    }
    
    .site-navigation a {
        padding: 16px 20px;
        border-radius: 16px;
        text-align: left;
    }
    
    .site-navigation a::after {
        left: 20px;
        transform: translateX(0) scaleX(0);
        width: 40px;
    }
    
    .site-navigation a:hover::after {
        transform: translateX(0) scaleX(1);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
    }
    
    .post-title {
        font-size: var(--font-size-xl);
    }
    
    .glass-card {
        padding: var(--spacing-md);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-title-image {
        max-height: 80px;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        width: 100%;
    }
}
