/* ============================================
   Mark'd Website - Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Light Mode Variables */
    --bg-primary: #F2F2F7;
    --bg-secondary: #FFFFFF;
    --text-primary: #1D1D1F;
    --text-secondary: rgba(29, 29, 31, 0.7);
    --accent: #7AA4FF;
    --accent-secondary: #4CC9FF;
    --gradient-end: var(--accent-secondary);
    
    /* Glass Materials */
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-highlight: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.05);
    
    /* Orb/Fluid Settings */
    --orb-blend: multiply;
    --orb-opacity: 0.6;
    --orb-color-1: rgba(191, 219, 254, 0.5);
    --orb-color-2: rgba(233, 213, 255, 0.5);
    --orb-color-3: rgba(254, 243, 199, 0.5);

    /* Phone Mockup */
    --phone-bg: #F2F2F7;
    --phone-card-bg: rgba(255, 255, 255, 0.7);
    --phone-text: #000000;
}

[data-theme='dark'] {
    /* Dark Mode Variables */
    --bg-primary: #000000;
    --bg-secondary: #1C1C1E;
    --text-primary: #F5F5F7;
    --text-secondary: rgba(235, 235, 245, 0.6);
    --accent: #6080C7;
    --accent-secondary: #3AA1FF;
    --gradient-end: var(--accent-secondary);

    /* Glass Materials */
    --glass-bg: linear-gradient(135deg, rgba(40, 40, 40, 0.6), rgba(30, 30, 30, 0.4));
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.5);

    /* Orb/Fluid Settings */
    --orb-blend: screen; 
    --orb-opacity: 0.3;
    --orb-color-1: rgba(29, 78, 216, 0.4);
    --orb-color-2: rgba(126, 34, 206, 0.4);
    --orb-color-3: rgba(180, 83, 9, 0.3);

    /* Phone Mockup */
    --phone-bg: #000000;
    --phone-card-bg: rgba(44, 44, 46, 0.7);
    --phone-text: #FFFFFF;
}

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

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    transition: background-color 0.5s ease, color 0.5s ease;
    min-height: 100%;
    line-height: 1.6;
}

/* --- Typography --- */
.sf-display {
    font-weight: 750;
    letter-spacing: -0.04em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* --- Liquid Glass Core --- */
.liquid-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 
        var(--glass-shadow),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Sheen Animation */
.liquid-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--glass-highlight),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.5s;
    pointer-events: none;
    opacity: 0.5;
}

.liquid-glass:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 30px 60px -12px rgba(0, 0, 0, 0.3),
        0 0 0 2px var(--glass-border) inset;
}

.liquid-glass:hover::after {
    left: 150%;
    transition: left 1s ease-in-out;
}

/* --- Fluid Background --- */
.fluid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-primary);
    transition: background 0.5s ease;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: var(--orb-opacity);
    mix-blend-mode: var(--orb-blend);
    animation: floatOrb 10s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
    transition: background 0.5s ease, opacity 0.5s ease, mix-blend-mode 0.5s ease;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -30px); }
}

/* --- Animation Utilities --- */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

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

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* --- Text Gradients --- */
.text-gradient-main {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: linear-gradient(120deg, var(--accent), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Icon Box --- */
.icon-box {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s;
}

.navbar-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 16px 0;
}

.navbar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    padding: 0 24px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--glass-shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-brand-text {
    display: inline-block;
}

.navbar-brand .app-icon {
    border-radius: 8px;
    flex-shrink: 0;
}

/* App Icon Theme Switching */
.app-icon-light {
    display: block !important;
}

.app-icon-dark {
    display: none !important;
}

[data-theme='dark'] .app-icon-light {
    display: none !important;
}

[data-theme='dark'] .app-icon-dark {
    display: block !important;
}

.navbar-download-btn {
    background-image: linear-gradient(120deg, var(--accent), var(--accent-secondary));
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
}

.navbar-download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-position: 100% 50%;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 192px;
    padding-bottom: 128px;
    padding-left: 24px;
    padding-right: 24px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.hero-app-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.hero-app-icon .app-icon {
    border-radius: 28px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-app-icon .app-icon:hover {
    transform: scale(1.05);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-badge-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.hero-title {
    font-size: clamp(48px, 8vw, 128px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
}

.hero-subtitle {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 96px;
    line-height: 1.6;
}

.hero-phone-mockup {
    margin-top: 96px;
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 2000px;
}

.phone-container {
    position: relative;
    width: 360px;
    height: 720px;
    background: #1c1c1e;
    border-radius: 68px;
    box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.4);
    border: 10px solid #38383a;
    overflow: hidden;
    transition: transform 0.7s;
}

.phone-container:hover {
    transform: rotateY(6deg) rotateX(2deg);
}

.phone-screenshot {
    max-width: 360px;
    width: 100%;
    height: auto;
    border-radius: 68px;
    box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.4);
    transition: transform 0.7s, opacity 0.3s;
    display: block;
}

.phone-screenshot:hover {
    transform: rotateY(6deg) rotateX(2deg);
}

/* Show light screenshot in light mode, hide dark screenshot */
.phone-screenshot-light {
    display: block;
}

.phone-screenshot-dark {
    display: none;
}

/* Show dark screenshot in dark mode, hide light screenshot */
[data-theme='dark'] .phone-screenshot-light {
    display: none;
}

[data-theme='dark'] .phone-screenshot-dark {
    display: block;
}

.phone-notch {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 37px;
    background: #000;
    border-radius: 9999px;
    z-index: 30;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    padding-left: 24px;
    padding-right: 24px;
    position: relative;
    transition: background-color 0.5s;
    background-color: var(--phone-bg);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.phone-header-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--phone-text);
}

.phone-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    color: var(--phone-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.phone-icon-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.phone-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.phone-card {
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    background-color: var(--phone-card-bg);
    cursor: pointer;
    transition: all 0.3s;
}

.phone-card:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.phone-card-content {
    display: flex;
    gap: 20px;
}

.phone-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.phone-card-info {
    flex: 1;
    padding-top: 4px;
}

.phone-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.phone-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--phone-text);
}

.phone-card-time {
    font-size: 11px;
    font-weight: 700;
    color: rgba(156, 163, 175, 1);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.phone-card-desc {
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
    color: var(--text-secondary);
}

.phone-card-stars {
    display: flex;
    gap: 4px;
    margin-top: 12px;
}

.phone-card-tag {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(107, 114, 128, 1);
    margin-top: 12px;
    display: inline-block;
}

.phone-scan-btn {
    position: absolute;
    bottom: 40px;
    right: 32px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 50;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-scan-btn:hover {
    transform: scale(1.1);
}

.phone-scan-btn:active {
    transform: scale(0.95);
}

/* --- Features Section --- */
.features {
    padding: 128px 24px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
    transition: background-color 0.5s ease;
}

.features-container {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.features-header {
    margin-bottom: 96px;
    text-align: center;
}

@media (min-width: 768px) {
    .features-header {
        text-align: left;
    }
}

.features-title {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

@media (min-width: 768px) {
    .feature-card-large {
        grid-column: span 2;
    }
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 500;
}

/* --- Philosophy Section --- */
.philosophy {
    padding: 160px 24px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.philosophy-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(var(--text-secondary) 1px, transparent 1px);
    background-size: 16px 16px;
}

.philosophy-container {
    max-width: 896px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
}

.philosophy-title {
    font-size: clamp(40px, 6vw, 80px);
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 64px;
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: clamp(16px, 1.8vw, 22px);
    line-height: 1.6;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

.philosophy-signature {
    font-weight: 700;
    padding-top: 32px;
    font-size: clamp(16px, 1.8vw, 22px);
    color: var(--accent);
}

.philosophy-link {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: gap 0.3s;
}

.philosophy-link:hover {
    gap: 12px;
}

/* --- Footer --- */
.footer {
    padding: 64px 24px;
    font-size: 14px;
    border-top: 1px solid var(--glass-border);
    background-color: var(--bg-primary);
}

.footer-container {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-controls-group {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.footer-btn {
    padding: 8px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.footer-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .footer-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-btn-icon {
    width: 16px;
    height: 16px;
}

.footer-lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Language Dropdown */
.lang-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 4px;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1000;
    pointer-events: none;
}

[data-theme='dark'] .lang-dropdown {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.lang-option:hover {
    background-color: var(--bg-secondary);
}

.lang-option.active {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
}

.footer-copyright {
    color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 24px;
    text-align: center;
    background-color: var(--bg-secondary);
}

.cta-container {
    max-width: 640px;
    margin: 0 auto;
}

.cta-app-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.cta-app-icon .app-icon {
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.cta-app-icon .app-icon:hover {
    transform: scale(1.05);
}

.cta-title {
    font-size: clamp(40px, 5vw, 56px);
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
    min-height: 44px;
}

.app-store-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
    background-color: #333;
}

[data-theme='dark'] .app-store-btn {
    background: #fff;
    color: #000;
}

[data-theme='dark'] .app-store-btn:hover {
    background-color: #e0e0e0;
}

.app-store-btn img {
    height: 100%;
    width: auto;
}

/* --- Content Pages (About, Privacy) --- */
.content-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

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

.content-title {
    font-size: clamp(40px, 5vw, 56px);
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.content-subtitle {
    font-size: clamp(20px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-section h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    letter-spacing: -0.02em;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.content-section p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.content-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-section li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.content-section a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s;
}

.content-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero {
        padding-top: 160px;
        padding-bottom: 80px;
    }
    
    .phone-container {
        width: 300px;
        height: 600px;
        border-radius: 56px;
    }
    
    .phone-screenshot {
        max-width: 300px;
        border-radius: 56px;
    }
    
    .phone-screen {
        padding-top: 60px;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .phone-header-title {
        font-size: 28px;
    }
    
    .features {
        padding: 80px 24px;
    }
    
    .philosophy {
        padding: 100px 24px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* --- Utility Classes --- */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.mb-4 {
    margin-bottom: 16px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mt-8 {
    margin-top: 32px;
}

