/* 
* MindPace Website Styles - Modern Refresh
* Updated with contemporary design principles
*/

/* ===== Base Styles ===== */
:root {
    /* Brand Colors - Refined Palette */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --teal: #0ea5e9;
    --lime-green: #84cc16;
    --orange: #f97316;
    --background: #FFFFFF;
    --light-gray: #f1f5f9;
    --medium-gray: #64748b;
    --dark-gray: #1e293b;
    
    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-sans: 'Inter var', -apple-system, BlinkMacSystemFont, "SF Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--background);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    position: relative;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
    color: var(--gray-600);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2rem);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.btn:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.05);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.btn-primary:focus {
    outline: 2px solid rgba(37, 99, 235, 0.5);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--gray-50);
    color: var(--gray-900);
    border-color: var(--gray-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:focus {
    outline: 2px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

/* ===== Header/Navigation ===== */
.header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.header.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: auto;
    width: 42px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.logo img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    border-radius: 10px 10px 0 0;
    pointer-events: none;
}

.header.scrolled .logo img {
    width: 36px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.2s ease;
    border-radius: 1px;
    opacity: 0.8;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: var(--gray-100);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background-color: var(--gray-700);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 9rem;
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--gray-900), var(--gray-800));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 60% 40%, rgba(132, 204, 22, 0.1) 0%, transparent 20%);
    opacity: 0.8;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: clamp(2rem, 6vw, 4rem);
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero h1 {
    margin-bottom: var(--spacing-md);
    color: white;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--gray-200);
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    max-width: 95%;
    font-weight: 400;
}

.hero-description {
    color: var(--gray-300);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    max-width: 95%;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) rotate(1deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) rotate(0deg);
}

.hero-gradient {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, 
        rgba(37, 99, 235, 0.4) 0%, 
        rgba(14, 165, 233, 0.4) 30%, 
        rgba(132, 204, 22, 0.3) 60%, 
        rgba(249, 115, 22, 0.2) 100%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: pulse 8s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* ===== Features Section ===== */
.features {
    text-align: center;
    position: relative;
    background-color: var(--gray-50);
    padding: var(--spacing-xxl) 0;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray-200), transparent);
}

.features h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--teal));
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2rem);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    opacity: 0;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    background-size: 200% 200%;
    animation: subtle-gradient 5s ease infinite;
}

@keyframes subtle-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
}

.features-highlight {
    margin-top: clamp(2.5rem, 8vw, 5rem);
    background-color: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    text-align: left;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.features-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(14, 165, 233, 0.03) 100%);
    z-index: 0;
}

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

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

.highlight-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 100%;
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg) rotate(-1deg);
    transition: transform 0.5s ease;
    border: 1px solid var(--gray-100);
}

.highlight-image:hover img {
    transform: perspective(1000px) rotateY(2deg) rotateX(2deg) rotate(0deg);
}

.highlight-list {
    margin-top: var(--spacing-md);
}

.highlight-list li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.highlight-list li i {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-top: 0.25rem;
}

/* ===== Download Section ===== */
.download {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cpath fill="%23FFFFFF" fill-opacity="0.05" d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z"%3E%3C/path%3E%3C/svg%3E');
}

.download .container {
    position: relative;
    z-index: 2;
    padding: var(--spacing-lg) 0;
}

.download-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.download-header {
    margin-bottom: var(--spacing-lg);
}

.download h2, .download .section-subtitle {
    color: white;
}

.download .section-subtitle {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
}

/* Download Features */
.download-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    font-size: 1.25rem;
    color: white;
}

.feature-text h4 {
    color: white;
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* Download CTA */
.download-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    align-items: start;
}

.app-store-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-store-section h3 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.app-store-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.app-store-button img {
    height: 54px;
    width: auto;
}

.download-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Coming Soon Section */
.coming-soon-section {
    display: flex;
    justify-content: center;
}

.coming-soon-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 300px;
}

.coming-soon-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    font-size: 1.25rem;
    color: white;
}

.coming-soon-card h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.coming-soon-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.notify-form {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.notify-input {
    flex: 1;
    min-width: 200px;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.notify-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.notify-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.notify-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.notify-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Download Stats */
.download-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: #f8fbfd;
    text-align: center;
}

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

.testimonial {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    max-width: 350px;
    text-align: left;
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.testimonial-author {
    border-top: 1px solid var(--light-gray);
    padding-top: var(--spacing-sm);
}

.testimonial-author p {
    margin-bottom: 0;
}

/* ===== Contact Section ===== */
.contact {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: left;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 114, 212, 0.1);
}

.contact-info {
    background-color: #f8fbfd;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(30, 114, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
}

.info-icon i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.info-content h4 {
    margin-bottom: 4px;
}

.info-content p {
    margin-bottom: 0;
    color: var(--medium-gray);
}

.social-links {
    margin-top: var(--spacing-lg);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(30, 114, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-gray);
    color: white;
    padding-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex: 2;
    min-width: 200px;
}

.footer-logo img {
    height: auto;
    width: 60px;
    object-fit: contain;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
    border-radius: 14px;
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 0;
}

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-nav h4 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-nav ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: white;
}

.footer-bottom {
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container,
    .download .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .download-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .features-highlight {
        flex-direction: column;
    }
    
    .highlight-image {
        order: -1;
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 5rem var(--spacing-lg) var(--spacing-lg);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links a {
        padding: 0.8rem 0;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-links {
        width: 100%;
    }
    
    /* Download section responsive */
    .download-cta {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .download-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .download-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: var(--spacing-md);
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .notify-input {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .feature-card {
        padding: var(--spacing-md);
    }
    
    .hero {
        padding-top: 100px;
    }
}

/* ===== Notifications ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    background-color: white;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.notification.visible {
    opacity: 1;
    transform: translateY(0);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-content p {
    margin: 0;
    padding-right: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--gray-700);
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--gray-500);
    transition: color 0.2s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.notification-close:hover {
    color: var(--gray-800);
    background-color: var(--gray-100);
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 2px 0 0 2px;
}

.notification.success::before {
    background-color: var(--lime-green);
}

.notification.error::before {
    background-color: #ef4444;
}

.notification.info::before {
    background-color: var(--primary-blue);
}

/* ===== Mobile Menu ===== */
body.menu-open {
    overflow: hidden;
}

/* ===== Scroll Animations ===== */
.will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.13, 0.87, 0.32, 1);
}

.will-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.will-animate:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card.will-animate:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card.will-animate:nth-child(4) {
    transition-delay: 0.3s;
}

/* ===== Coming Soon Overlay ===== */
.coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.97); /* Dark background with slight transparency */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Above everything else */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.coming-soon-content {
    text-align: center;
    max-width: 600px;
    padding: var(--spacing-xl);
    color: white;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.coming-soon-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.coming-soon-logo {
    width: 120px;
    height: auto;
    border-radius: 24px; /* More pronounced rounded corners for larger icon */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); /* Deeper shadow for emphasis */
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.3s ease;
}

.coming-soon-overlay h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: var(--spacing-md);
    color: white;
    letter-spacing: -0.03em;
    font-weight: 700;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-overlay p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.coming-soon-countdown {
    margin-top: var(--spacing-lg);
}

.coming-soon-countdown p {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    opacity: 0.8;
}

.countdown-timer {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-timer span {
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-blue);
    background: linear-gradient(to right, var(--primary-blue), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* To easily remove the overlay later, just add this CSS:
#coming-soon-overlay {
    display: none;
}
*/ 

/* ===== Privacy Policy & Terms of Service Styles ===== */
.privacy-policy,
.terms-of-service {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--background) 100%);
    min-height: 100vh;
}

.policy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: var(--spacing-lg);
}

.policy-content h1,
.terms-content h1 {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal) 100%);
    color: white;
    padding: var(--spacing-lg);
    margin: 0;
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    position: relative;
}

.policy-content h1::after,
.terms-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
}

.last-updated {
    background: var(--gray-100);
    padding: var(--spacing-sm) var(--spacing-lg);
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-200);
}

.policy-section,
.terms-section {
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.policy-section:hover,
.terms-section:hover {
    background: var(--gray-50);
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.section-header i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.section-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.section-content {
    padding: var(--spacing-lg);
    line-height: 1.7;
}

.section-content p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.section-content li {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
    line-height: 1.6;
}

.section-content strong {
    color: var(--gray-900);
    font-weight: 600;
}

.section-content h3 {
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
    font-size: 1.1rem;
    color: var(--gray-900);
}

.section-content a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-content a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* Color variations for different sections */
.section-header i.fa-hand-paper { color: var(--primary-blue); }
.section-header i.fa-hdd { color: var(--lime-green); }
.section-header i.fa-chart-bar { color: var(--teal); }
.section-header i.fa-cogs { color: var(--orange); }
.section-header i.fa-shield-alt { color: #dc2626; }
.section-header i.fa-user-shield { color: #7c3aed; }
.section-header i.fa-envelope { color: var(--teal); }

.section-header i.fa-file-alt { color: var(--primary-blue); }
.section-header i.fa-file-contract { color: var(--lime-green); }
.section-header i.fa-list-ul { color: var(--orange); }
.section-header i.fa-exclamation-triangle { color: #dc2626; }
.section-header i.fa-code { color: #7c3aed; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-content,
    .terms-content {
        margin: var(--spacing-sm);
        border-radius: var(--radius-md);
    }
    
    .policy-content h1,
    .terms-content h1 {
        padding: var(--spacing-md);
        font-size: 1.75rem;
    }
    
    .section-header {
        padding: var(--spacing-sm) var(--spacing-md);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .section-header h2 {
        font-size: 1.1rem;
    }
    
    .section-content {
        padding: var(--spacing-md);
    }
    
    .section-content ul {
        padding-left: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .privacy-policy,
    .terms-of-service {
        padding: var(--spacing-md) 0;
    }
    
    .policy-content,
    .terms-content {
        margin: var(--spacing-xs);
        border-radius: var(--radius-sm);
    }
    
    .policy-content h1,
    .terms-content h1 {
        padding: var(--spacing-sm);
        font-size: 1.5rem;
    }
    
    .section-content {
        padding: var(--spacing-sm);
    }
    
    .section-content ul {
        padding-left: var(--spacing-sm);
    }
} 