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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.5;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.022em;
}

/* Theme Variables */
.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --accent-color: #000000;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    --device-bg: #f5f5f5;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.dark-theme {
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #333333;
    --accent-color: #ffffff;
    --shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
    --device-bg: #1a1a1a;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    position: relative;
    background-color: var(--bg-primary);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.logo-icon.with-container {
    width: 48px; /* Slightly bigger */
    height: 48px;
    border-radius: 12px;
    background-color: var(--bg-primary);
    padding: 4px; /* More breathing space */
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.logo-text {
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.theme-toggle:hover {
    background-color: var(--bg-secondary);
}

.theme-icon {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 84px); /* Account for header height approx */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0 100px; /* Increased bottom padding for breathing room */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0;
}

.hero-image {
    order: -1; /* Force device to appear first */
    flex-shrink: 0;
}

.hero-text {
    order: 1; /* Text appears second */
    flex-shrink: 0;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.benefit-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

.download-buttons {
    margin-bottom: 20px;
}

/* App Store Badge */
.app-store-badge-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.app-store-badge-img {
    height: 48px;
    width: auto;
    display: block;
}

.availability {
    color: var(--text-muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

/* Learn More Button */
.learn-more-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 80px auto 0;
    width: fit-content;
}

.learn-more-btn:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
}

.arrow-down {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover .arrow-down {
    transform: translateY(2px);
}

/* Device Container */
.device-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: visible;
    min-height: 700px;
    padding: 20px;
    position: relative;
}

/* Dark mode background enhancement for device area */
.dark-theme .device-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Responsive adjustments for dark mode background */
@media (max-width: 768px) {
    .dark-theme .device-container::before {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    /* Header improvements */
    .header {
        padding: 12px 0;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    /* Better touch targets */
    .device-btn {
        min-height: 40px;
        padding: 8px 14px;
        font-size: 13px;
        gap: 4px;
    }
    
    .app-store-badge {
        min-height: 48px;
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .learn-more-btn {
        margin-top: 30px; /* Clean spacing */
        margin-bottom: 0; /* No extra margin */
        font-size: 15px;
        padding: 12px 24px;
        min-height: 48px;
    }
    
    /* Story section improvements */
    .story-download-btn {
        min-height: 48px;
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 32px; /* Smoother scaling for minimalism */
        margin-bottom: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 40px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .availability {
        font-size: 13px;
        justify-content: center;
        margin-bottom: 0;
        align-items: flex-start;
        text-align: left;
        max-width: 250px;
        margin: 0 auto;
    }

    .star-icon {
        margin-top: 3px;
        flex-shrink: 0;
    }
    
    /* Clean section spacing */
    .features {
        padding: 40px 0; /* Reduced from 60px */
        margin-top: 0;
    }
    
    .different-section {
        padding: 40px 0; /* Reduced from 60px */
    }
    
    .story-section {
        padding: 40px 0; /* Reduced from 60px */
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 28px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefit-item {
        justify-content: center;
        font-size: 14px;
        padding: 8px 12px;
        background-color: var(--bg-secondary);
        border-radius: 8px;
        min-height: 44px;
    }
    
    .download-buttons {
        margin-bottom: 24px;
    }
    
    .app-store-badge {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    .availability {
        font-size: 13px;
        justify-content: center;
        margin-bottom: 0;
    }
    
    .device-container {
        gap: 20px;
        margin-bottom: 0; /* Removed extra margin */
    }
    
    .device-btn {
        min-height: 44px;
        padding: 10px 16px;
    }
    
    .device-mockup.iphone {
        width: 310px; /* Restored impact */
    }
    
    .device-mockup.ipad {
        width: 359px;
        height: 520px;
    }
    
    .screenshot-img {
        max-height: 100%;
    }
    
    .learn-more-btn {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 60px; /* Increased spacing */
        margin-bottom: 0;
        min-height: 44px;
        align-self: center;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .features {
        padding: 100px 0; /* Increased padding to match desktop */
        margin-top: 40px; /* Add top margin for clear separation */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px; /* Increased gap */
        padding-top: 40px;
        max-width: 500px;
    }
    
    .feature {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }
    
    .feature-icon-svg {
        width: 28px; /* Refined for mobile */
        height: 28px;
    }
    
    .feature-title {
        font-size: 18px; /* Refined for mobile */
        margin-bottom: 12px;
    }
    
    .feature-description {
        font-size: 14px; /* Refined for mobile */
        line-height: 1.6;
    }
    
    .different-title,
    .story-title {
        font-size: 36px; /* Increased from 32px */
        margin-bottom: 40px; /* Increased spacing */
    }
    
    .different-grid {
        grid-template-columns: 1fr; /* Single column on mobile for better readability */
        gap: 32px; /* Increased gap */
        max-width: 400px; /* Reduced max width */
    }
    
    .different-item {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .different-icon {
        width: 60px; /* Increased size */
        height: 60px;
        margin-bottom: 20px; /* Increased spacing */
    }
    
    .different-icon-svg {
        width: 24px; /* Increased size */
        height: 24px;
    }
    
    .different-item h3 {
        font-size: 18px; /* Increased size */
        margin-bottom: 12px; /* Increased spacing */
    }
    
    .different-item p {
        font-size: 14px; /* Increased size */
        line-height: 1.5;
    }
    
    .story-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .story-intro {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .story-text p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .story-highlight {
        font-size: 16px;
        padding: 20px;
        margin: 24px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .timer-controls {
        gap: 18px;
        margin: 12px 0;
    }
    
    .timer-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .timer-btn-small {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .reset-text {
        font-size: 15px;
        min-width: 45px;
    }
    
    .app-header {
        margin-bottom: 25px;
        gap: 6px;
    }
    
    .app-icon-small {
        width: 45px;
        height: 45px;
    }
    
    .app-name {
        font-size: 18px;
    }
    
    .settings-button {
        width: 36px;
        height: 36px;
        bottom: 18px;
        right: 18px;
    }
    
    .settings-icon {
        width: 18px;
        height: 18px;
    }
}

/* Extra small screens (320px and up) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .benefit-item {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .device-mockup.iphone {
        width: 200px;
    }
    
    .device-mockup.ipad {
        width: 299px;
        height: 433px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .different-item {
        padding: 14px 6px;
    }
    
    .different-item h3 {
        font-size: 14px;
    }
    
    .different-item p {
        font-size: 11px;
    }
}

/* Tablet and up (768px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Header improvements */
    .header {
        padding: 15px 0;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    /* Hero section for tablets */
    .hero {
        min-height: auto; /* Override full height on tablets */
        padding: 100px 0 120px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 8px 14px;
        margin-bottom: 20px;
        display: inline-flex;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 18px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 28px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 28px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefit-item {
        justify-content: center;
        font-size: 14px;
        padding: 8px 12px;
        background-color: var(--bg-secondary);
        border-radius: 8px;
        min-height: 44px; /* Better touch target */
    }
    
    .download-buttons {
        margin-bottom: 24px;
    }
    
    .app-store-badge {
        min-height: 44px; /* Better touch target */
        padding: 12px 24px;
    }
    
    .availability {
        font-size: 15px;
        justify-content: center;
    }
    
    .device-container {
        gap: 20px;
    }
    
    .device-btn {
        min-height: 44px; /* Better touch target */
        padding: 10px 16px;
    }
    
    .device-mockup.iphone {
        width: 300px;
    }
    
    .device-mockup.ipad {
        width: 359px;
        height: 520px;
    }
    
    .screenshot-img {
        max-height: 100%;
    }
    
    .learn-more-btn {
        position: relative; /* Override fixed positioning on tablets */
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 60px;
        min-height: 44px;
        background-color: transparent; /* Remove background on tablets */
        border: 1px solid var(--border-color); /* Restore original border */
        box-shadow: none; /* Remove shadow on tablets */
        z-index: auto; /* Remove z-index on tablets */
    }

    .learn-more-btn:hover {
        transform: translateY(-2px); /* Restore simple hover on tablets */
        box-shadow: none; /* Remove shadow on tablets hover */
    }

    .features {
        min-height: auto; /* Override full height on tablets */
        padding: 100px 0;
    }

    .features .container {
        display: block; /* Override flex on tablets */
        height: auto; /* Override height on tablets */
    }

    .different-section {
        min-height: auto; /* Override full height on tablets */
        display: block; /* Override flex on tablets */
        padding: 80px 0;
    }

    .different-section .container {
        display: block; /* Override flex on tablets */
        height: auto; /* Override height on tablets */
    }

    .story-section {
        min-height: auto; /* Override full height on tablets */
        display: block; /* Override flex on tablets */
        padding: 80px 0;
    }

    .story-section .container {
        display: block; /* Override flex on tablets */
        height: auto; /* Override height on tablets */
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px; /* Increased gap */
        padding-top: 40px;
        max-width: 500px;
    }
    
    .feature {
        padding: 40px 32px; /* Increased padding */
        border-radius: 20px;
    }
    
    .feature-icon {
        width: 80px; /* Increased size */
        height: 80px;
        margin-bottom: 24px;
    }
    
    .feature-icon-svg {
        width: 36px; /* Increased size */
        height: 36px;
    }
    
    .feature-title {
        font-size: 22px; /* Increased size */
        margin-bottom: 16px;
    }
    
    .feature-description {
        font-size: 16px; /* Increased size */
        max-width: 100%;
        line-height: 1.6;
    }
    
    .different-title,
    .story-title {
        font-size: 36px; /* Increased from 32px */
        margin-bottom: 40px; /* Increased spacing */
    }
    
    .different-grid {
        grid-template-columns: 1fr; /* Single column on mobile for better readability */
        gap: 32px; /* Increased gap */
        max-width: 400px; /* Reduced max width */
    }
    
    .different-item {
        padding: 24px 16px; /* Increased padding */
    }
    
    .different-icon {
        width: 60px; /* Increased size */
        height: 60px;
        margin-bottom: 20px; /* Increased spacing */
    }
    
    .different-icon-svg {
        width: 24px; /* Increased size */
        height: 24px;
    }
    
    .different-item h3 {
        font-size: 18px; /* Increased size */
        margin-bottom: 12px; /* Increased spacing */
    }
    
    .different-item p {
        font-size: 14px; /* Increased size */
        line-height: 1.5;
    }
    
    .story-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .story-intro {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .story-text p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .story-highlight {
        font-size: 16px;
        padding: 20px;
        margin: 24px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .timer-controls {
        gap: 18px;
        margin: 12px 0;
    }
    
    .timer-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .timer-btn-small {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .reset-text {
        font-size: 15px;
        min-width: 45px;
    }
    
    .app-header {
        margin-bottom: 25px;
        gap: 6px;
    }
    
    .app-icon-small {
        width: 45px;
        height: 45px;
    }
    
    .app-name {
        font-size: 18px;
    }
    
    .settings-button {
        width: 36px;
        height: 36px;
        bottom: 18px;
        right: 18px;
    }
    
    .settings-icon {
        width: 18px;
        height: 18px;
    }
}

/* Logo Image Theme Switching */
.light-theme .logo-icon,
.light-theme .footer-icon,
.light-theme .app-icon-img {
    content: url('assets/images/AppIconImageLight.png');
}

.dark-theme .logo-icon,
.dark-theme .footer-icon,
.dark-theme .app-icon-img {
    content: url('assets/images/AppIconImageDark.png');
}

/* What Makes Sonomo Different Section */
.different-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.different-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.different-title {
    font-size: 48px; /* Increased from 42px */
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px; /* Increased spacing */
    color: var(--text-primary);
    line-height: 1.2;
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed from 3 to 2 columns */
    gap: 48px; /* Increased gap */
    max-width: 800px; /* Reduced max width for better proportions */
    margin: 0 auto;
}

.different-item {
    text-align: center;
    padding: 32px 24px; /* Refined padding */
    border-radius: 20px; /* Refined radius */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px; /* Refined radius */
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.different-icon {
    width: 64px; /* Refined from 80px */
    height: 64px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px; /* Increased spacing */
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.different-item:hover .different-icon {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.different-icon-svg {
    width: 32px; /* Increased from 24px */
    height: 32px;
}

.different-item h3 {
    font-size: 20px; /* Increased from 18px */
    font-weight: 600;
    margin-bottom: 16px; /* Increased spacing */
    color: var(--text-primary);
}

.different-item p {
    color: var(--text-secondary);
    line-height: 1.6; /* Improved line height */
    font-size: 15px; /* Increased from 14px */
}

/* Personal Story Section */
.story-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(-45deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.story-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

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

.story-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
    line-height: 1.2;
}

.story-text {
    text-align: left;
}

.story-intro {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.story-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.story-highlight {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin: 32px 0;
}

.story-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.story-download-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-primary);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    font-size: 16px;
    margin-bottom: 16px;
}

.story-download-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.story-price {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 12px;
}

/* Screenshot Display Logic - Simplified and Fixed */

/* Hide all screenshots by default */
.screenshot-img {
    display: none;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: inherit;
    position: relative;
    background-color: transparent;
    border: none;
}

/* Light Theme - iPhone */
.light-theme .device-mockup.iphone .screenshot-real .iphone-screenshot.light-screenshot {
    display: block;
}

/* Light Theme - iPad */
.light-theme .device-mockup.ipad .screenshot-real .ipad-screenshot.light-screenshot {
    display: block;
}

/* Dark Theme - iPhone */
.dark-theme .device-mockup.iphone .screenshot-real .iphone-screenshot:not(.light-screenshot) {
    display: block;
}

/* Dark Theme - iPad */
.dark-theme .device-mockup.ipad .screenshot-real .ipad-screenshot:not(.light-screenshot) {
    display: block;
}

/* Ensure proper image loading */
.screenshot-img[src=""], .screenshot-img:not([src]) {
    display: none !important;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content {
        gap: 100px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .device-mockup.iphone {
        width: 320px;
    }
    
    .device-mockup.ipad {
        width: 478px;
        height: 693px;
    }
    
    .features-grid {
        max-width: 1000px;
    }
    
    .different-grid {
        max-width: 1200px;
    }
    
    .story-content {
        max-width: 800px;
    }
}

/* Ensure device mockup stays above the background */
.device-mockup {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    /* Default iPhone dimensions - proper phone aspect ratio */
    width: 300px;
    height: 650px;
}

.device-toggle {
    display: flex;
    gap: 8px;
    padding: 4px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    align-items: center;
}

.device-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.device-icon {
    width: 14px;
    height: 14px;
}

.device-btn.active {
    background-color: var(--accent-color);
    color: var(--bg-primary);
}

.device-btn:not(.active):hover {
    color: var(--text-primary);
    background-color: var(--border-color);
}

/* Device Mockup */
/* Device Mockup */
.device-mockup.iphone {
    width: 320px;
    height: auto;
    aspect-ratio: 340 / 700; /* Match Asset Studio ratio for perfect framing */
    position: relative;
    max-height: 680px;
}

/* Bezel overlay sits on top */
.bezel-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    object-fit: contain;
}

/* Screenshot sits underneath */
.screenshot-real {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    padding: 13.5px; /* Scaled: 14 * (320/333) approx 13.5px */
    border-radius: 44px; /* Matches screen corner radius of device frame */
    /* Remove overflow:hidden from outer container to let padding work naturally */
    background-color: transparent;
}

.screenshot-mask {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 53px; /* Scaled: 56 * (320/340) approx 52.7px */
    overflow: hidden;
    background-color: #000;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Real Screenshots - Fixed dimensions */
/* Deprecated old styles removed */


/* Remove device frame borders when showing real screenshots */
.device-screen:has(.screenshot-real:not(.hidden)) {
    border: none;
    overflow: visible;
}

/* Adjust padding for iPhone to account for dynamic island only when showing mockup */
.device-mockup.iphone .screenshot-placeholder {
    padding-top: 50px;
}

/* Adjust padding for iPad to account for status dots only when showing mockup */
.device-mockup.ipad .screenshot-placeholder {
    padding-top: 40px;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 30px 20px;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 1;
    border-radius: inherit;
}

.app-icon-large {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.app-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.app-icon-small {
    width: 50px;
    height: 50px;
}

.app-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.app-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.timer-display {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    padding: 12px 30px;
    border-radius: 16px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    letter-spacing: 2px;
    border: 1px solid var(--border-color);
}

.timer-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.timer-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timer-btn-small {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timer-btn:hover,
.timer-btn-small:hover {
    background-color: var(--border-color);
}

.reset-text {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 45px;
    text-align: center;
}

.sound-selector-rounded {
    font-size: 16px;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.play-button {
    background-color: var(--bg-secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    margin: 15px 0;
}

.play-icon {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
    margin-left: 2px;
}

.sound-icon {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
}

.settings-button {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-button:hover {
    background-color: var(--border-color);
}

.settings-icon {
    width: 18px;
    height: 18px;
    color: var(--text-primary);
}

.screenshot-real::after {
    content: "Screenshots coming soon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
    z-index: 1;
    display: block;
}

/* Hide fallback message when any screenshot is visible */
.screenshot-real:has(.screenshot-img[src]:not([src=""]):not([style*="display: none"])) {
    background: none;
}

.screenshot-real:has(.screenshot-img[src]:not([src=""]):not([style*="display: none"]))::after {
    display: none;
}

/* Features Section */
.features {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: radial-gradient(circle at top right, var(--bg-secondary), var(--bg-primary));
}

.features .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.section-title {
    font-size: 48px; /* Increased from 42px */
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px; /* Increased spacing */
    color: var(--text-primary);
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* Increased gap */
    max-width: 1000px; /* Increased max width */
    margin: 0 auto;
    padding-top: 60px; /* Increased padding */
}

/* Science Section */
.science-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.science-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.science-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.science-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 0.6;
}

.science-card.brown .science-card-bg { background: #8B4513; }
.science-card.pink .science-card-bg { background: #FFB6C1; }
.science-card.azure .science-card-bg { background: #007AFF; }
.science-card.green .science-card-bg { background: #34C759; }

.science-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

.science-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.science-icon-svg {
    width: 28px;
    height: 28px;
}

.science-card.brown .science-icon-svg { color: #A0522D; }
.science-card.pink .science-icon-svg { color: #FFB6C1; }
.science-card.azure .science-icon-svg { color: #007AFF; }
.science-card.green .science-icon-svg { color: #34C759; }

.science-title {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.science-type {
    font-size: 14px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 500;
}

.science-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .science-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .science-section {
        padding: 60px 0;
    }
    
    .science-card {
        padding: 30px 20px;
    }
    
    .science-header {
        margin-bottom: 40px;
    }
}

/* Page Footer Information (Technical & Research) */
.page-footer-info {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--glass-border);
}

.footer-research {
    margin-bottom: 80px;
}

.research-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.research-card-mini {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.research-card-mini:hover {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    transform: translateY(-4px);
}

.journal-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.research-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.research-card-meta {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 300;
}

/* Performance Mini Grid */
.tech-specs-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 60px;
    border-top: 1px solid var(--glass-border);
}

.spec-item-mini {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-val {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.spec-tit {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-footer-info {
        padding: 80px 0 40px;
    }
    
    .tech-specs-mini {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .research-card-mini {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .research-links {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .science-research {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .specs-grid {
        gap: 24px;
    }
    
    .spec-value {
        font-size: 20px;
    }
}

.feature {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px; /* Refined radius */
    padding: 32px 28px; /* Reduced for elegance */
    text-align: center;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother transition */
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-12px); /* Increased lift effect */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

.dark-theme .feature:hover {
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    margin-bottom: 24px; /* Reduced from 32px */
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px; /* Refined size */
    height: 80px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    margin: 0 auto 24px; /* Reduced margin */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover .feature-icon {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    transform: scale(1.15); /* Increased scale */
}

.feature-icon-svg {
    width: 42px; /* Increased size */
    height: 42px;
}

.feature-title {
    font-size: 24px; /* Increased size */
    font-weight: 700;
    margin-bottom: 20px; /* Increased spacing */
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7; /* Improved line height */
    font-size: 17px; /* Increased size */
    max-width: 320px; /* Increased max width */
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-text {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: auto; /* Override full height on mobile */
        padding: 80px 0 160px; /* Increased bottom breathing room on mobile */
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 60px;
        text-align: center;
        margin: 0;
        padding-bottom: 0;
    }
    
    .hero-image {
        order: -1;
        flex-shrink: 0;
    }
    
    .hero-text {
        order: 1;
        flex-shrink: 0;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 8px 14px;
        margin-bottom: 20px;
        display: inline-flex;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 18px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 28px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 28px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefit-item {
        justify-content: center;
        font-size: 14px;
        padding: 8px 12px;
        background-color: var(--bg-secondary);
        border-radius: 8px;
        min-height: 44px;
    }
    
    .download-buttons {
        margin-bottom: 24px;
    }
    
    .app-store-badge {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    .availability {
        font-size: 15px;
        justify-content: center;
        margin-bottom: 0; /* Removed extra margin */
    }
    
    .device-container {
        gap: 20px;
        margin-bottom: 0; /* Removed extra margin */
    }
    
    .device-btn {
        min-height: 44px;
        padding: 10px 16px;
    }
    
    .device-mockup.iphone {
        width: 310px;
    }
    
    .device-mockup.ipad {
        width: 359px;
        height: 520px;
    }
    
    .screenshot-img {
        max-height: 100%;
    }
    
    .learn-more-btn {
        position: relative; /* Override fixed positioning on mobile */
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 60px;
        margin-bottom: 0;
        min-height: 44px;
        align-self: center;
        background-color: transparent; /* Remove background on mobile */
        border: 1px solid var(--border-color); /* Restore original border */
        box-shadow: none; /* Remove shadow on mobile */
        z-index: auto; /* Remove z-index on mobile */
    }

    .learn-more-btn:hover {
        transform: translateY(-2px); /* Restore simple hover on mobile */
        box-shadow: none; /* Remove shadow on mobile hover */
    }

    .features {
        min-height: auto; /* Override full height on mobile */
        padding: 100px 0;
        margin-top: 40px;
    }

    .features .container {
        display: block; /* Override flex on mobile */
        height: auto; /* Override height on mobile */
    }

    .different-section {
        min-height: auto; /* Override full height on mobile */
        display: block; /* Override flex on mobile */
        padding: 60px 0;
    }

    .different-section .container {
        display: block; /* Override flex on mobile */
        height: auto; /* Override height on mobile */
    }

    .story-section {
        min-height: auto; /* Override full height on mobile */
        display: block; /* Override flex on mobile */
        padding: 60px 0;
    }

    .story-section .container {
        display: block; /* Override flex on mobile */
        height: auto; /* Override height on mobile */
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px; /* Increased gap */
        padding-top: 40px;
        max-width: 500px;
    }
    
    .feature {
        padding: 40px 32px; /* Increased padding */
        border-radius: 20px;
    }
    
    .feature-icon {
        width: 80px; /* Increased size */
        height: 80px;
        margin-bottom: 24px;
    }
    
    .feature-icon-svg {
        width: 36px; /* Increased size */
        height: 36px;
    }
    
    .feature-title {
        font-size: 22px; /* Increased size */
        margin-bottom: 16px;
    }
    
    .feature-description {
        font-size: 16px; /* Increased size */
        max-width: 100%;
        line-height: 1.6;
    }
    
    .different-title,
    .story-title {
        font-size: 36px; /* Increased from 32px */
        margin-bottom: 40px; /* Increased spacing */
    }
    
    .different-grid {
        grid-template-columns: 1fr; /* Single column on mobile for better readability */
        gap: 32px; /* Increased gap */
        max-width: 400px; /* Reduced max width */
    }
    
    .different-item {
        padding: 24px 16px; /* Increased padding */
    }
    
    .different-icon {
        width: 60px; /* Increased size */
        height: 60px;
        margin-bottom: 20px; /* Increased spacing */
    }
    
    .different-icon-svg {
        width: 24px; /* Increased size */
        height: 24px;
    }
    
    .different-item h3 {
        font-size: 18px; /* Increased size */
        margin-bottom: 12px; /* Increased spacing */
    }
    
    .different-item p {
        font-size: 14px; /* Increased size */
        line-height: 1.5;
    }
    
    .story-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .story-intro {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .story-text p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .story-highlight {
        font-size: 16px;
        padding: 20px;
        margin: 24px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .timer-controls {
        gap: 18px;
        margin: 12px 0;
    }
    
    .timer-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .timer-btn-small {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .reset-text {
        font-size: 15px;
        min-width: 45px;
    }
    
    .app-header {
        margin-bottom: 25px;
        gap: 6px;
    }
    
    .app-icon-small {
        width: 45px;
        height: 45px;
    }
    
    .app-name {
        font-size: 18px;
    }
    
    .settings-button {
        width: 36px;
        height: 36px;
        bottom: 18px;
        right: 18px;
    }
    
    .settings-icon {
        width: 18px;
        height: 18px;
    }
}

/* Page Content (Privacy/Support) */
.page-content {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.policy-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.policy-section ul {
    list-style-type: disc;
    padding-left: 24px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.policy-section li {
    margin-bottom: 8px;
}

/* Support Page Specific */
.faq-item {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-box {
    background-color: var(--bg-secondary);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    margin-top: 60px;
}

.contact-box h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-email {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .page-content {
        padding: 80px 20px 60px; /* Added horizontal padding for mobile */
    }
} 

.footer-icon {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.footer-icon.with-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--bg-primary);
    padding: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}