/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #F76C4A;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-cream: #FDFBF7;
    --bg-white: #ffffff;
    --border-blue: #1e3a8a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 20px;
    --radius-xl: 50px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: var(--bg-cream);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-left: 2px solid var(--border-blue);
    border-right: 2px solid var(--border-blue);
    border-top: 8px solid var(--border-blue);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a.active {
    color: var(--primary-orange);
}

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

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-icon.pinterest {
    background: #e60023;
    color: white;
}

.social-icon.twitter {
    background: #1da1f2;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.instagram-alt {
    background: #e4405f;
    color: white;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.8;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #764ba2 100%);
    color: white;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, var(--primary-orange) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup {
    position: relative;
}

.phone-frame {
    width: 320px;
    height: 650px;
    position: relative;
    background: #222;
    background-size: contain;
    border-radius: 40px;
    border: 8px solid #444;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg);
}

.phone-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.phone-screen {
    position: absolute;
    top: 8%;
    left: 8%;
    right: 8%;
    bottom: 8%;
    border-radius: 35px;
    overflow: hidden;
    background: #000;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
}

.qr-code {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #000;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    position: relative;
}

.qr-placeholder::before {
    content: 'QR CODE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.app-store-button {
    margin: 2rem 0;
}

.btn-app-store {
    background: #000;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    cursor: pointer;
    transition: var(--transition);
}

.btn-app-store:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.apple-logo {
    font-size: 1.2rem;
}

.requirement-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.phone-mockups {
    position: relative;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.phone-mockup {
    position: absolute;
    width: 200px;
    height: 350px;
    background: #333;
    border-radius: 25px;
    border: 3px solid #555;
    box-shadow: var(--shadow-lg);
}

.phone-mockup.foreground {
    z-index: 2;
    transform: rotate(5deg);
    right: 50%;
    margin-right: -100px;
}

.phone-mockup.background {
    z-index: 1;
    transform: rotate(-5deg);
    left: 50%;
    margin-left: -100px;
    opacity: 0.8;
}

.phone-screen {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #87CEEB 0%, #98D8E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dice-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.dice {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.white-dice {
    background: white;
    color: black;
}

.blue-dice {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

.hero-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 2rem auto 0;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #333;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.tech-stack h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.app-screenshots {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.screenshot {
    width: 80px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    position: relative;
}

.screenshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.screenshot.loaded::before {
    display: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.screenshot:hover {
    transform: translateY(-5px);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screenshot-img.loaded {
    opacity: 1;
}

/* Screenshots Section */
.screenshots-section {
    padding: 100px 0;
    background: #ffffff;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-showcase-item:nth-child(even) {
    direction: rtl;
}

.feature-showcase-item:nth-child(even) .feature-showcase-content {
    direction: ltr;
}

.feature-showcase-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-showcase-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.feature-showcase-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Alternative frame variant for showcase */
.phone-frame.alt {
    background: #333;
    border: 8px solid #555;
}

.phone-frame.samsung .phone-screen {
    top: 6%;
    left: 6%;
    right: 6%;
    bottom: 6%;
    border-radius: 25px;
}

.phone-frame.samsung .app-screenshot {
    border-radius: 25px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-text {
    direction: ltr;
}

.feature-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-phone {
    display: flex;
    justify-content: center;
}

.feature-phone .phone-mockup {
    position: relative;
    width: 250px;
    height: 400px;
    background: #333;
    border-radius: 25px;
    border: 3px solid #555;
    box-shadow: var(--shadow-lg);
}

.feature-phone .phone-screen {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-white);
}

/* Calculator Interface */
.calculator-interface {
    background: #000;
    color: white;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calc-display {
    background: #1a1a1a;
    color: white;
    font-size: 2rem;
    font-weight: 300;
    text-align: right;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-family: 'SF Mono', Monaco, monospace;
}

.calc-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.calc-row {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.calc-btn {
    flex: 1;
    background: #333;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.calc-btn:hover {
    background: #555;
}

.calc-btn.operator {
    background: #ff9500;
}

.calc-btn.operator:hover {
    background: #ffad33;
}

.calc-btn.zero {
    flex: 2;
    border-radius: 25px;
}

.calc-btn.equals {
    background: #ff9500;
}

/* Vault Interface */
.vault-interface {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vault-header {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.vault-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vault-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

/* Calculator Feature Screen */
.calc-feature-screen {
    background: #000;
    color: white;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calc-history {
    flex: 1;
    margin: 1rem 0;
}

.calc-history .history-item {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: right;
}

.calc-buttons-mini {
    display: flex;
    gap: 0.5rem;
}

.calc-btn-mini {
    flex: 1;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.calc-btn-mini.operator {
    background: #ff9500;
}

/* Vault Access Screen */
.vault-access-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pin-display {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    margin: 1rem 0;
}

.vault-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.8rem;
    cursor: pointer;
}

.tab.active {
    background: rgba(255, 255, 255, 0.3);
}

.vault-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Security Screen */
.security-screen {
    background: #1a1a1a;
    color: white;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.security-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.security-options {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #333;
    padding: 1rem;
    border-radius: 8px;
}

.security-icon {
    font-size: 1.5rem;
}

.security-info {
    flex: 1;
}

.security-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.security-info p {
    font-size: 0.8rem;
    color: #ccc;
}

.toggle {
    background: #666;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.toggle.active {
    background: #4CAF50;
}

/* Multi-format Screen */
.multi-format-screen {
    background: linear-gradient(135deg, #98FB98 0%, #90EE90 100%);
    color: #333;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.format-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.format-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.format-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.format-icon {
    font-size: 1.5rem;
}

.format-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

.storage-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.storage-bar {
    background: #ddd;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.storage-fill {
    background: #4CAF50;
    height: 100%;
    transition: width 0.3s ease;
}

.storage-info p {
    font-size: 0.8rem;
    color: #666;
}

.dice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 200px;
    margin: 0 auto;
}

.dice-grid .dice {
    width: 50px;
    height: 50px;
    font-size: 1rem;
}

.red-marble {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    color: #333;
}

.rainbow {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    color: #333;
}

.blue-speckled {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

.blue-speckled-alt {
    background: linear-gradient(135deg, #5BA3F5 0%, #4A90E2 100%);
    color: white;
}

.orange-textured {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
}

/* History Screen */
.history-screen {
    background: var(--bg-white);
    padding: 1rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.back-btn, .delete-btn {
    background: none;
    border: none;
    color: var(--primary-orange);
    font-weight: 500;
    cursor: pointer;
}

.history-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.history-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.dice-icons {
    font-size: 0.8rem;
}

.total {
    font-weight: 600;
    color: var(--text-dark);
}

.time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Theme Screen */
.theme-screen {
    background: linear-gradient(135deg, #FFB6C1 0%, #FFC0CB 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.red-d20 {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.themes-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.themes-overlay h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.theme-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
}

.theme-item.selected {
    border-color: var(--primary-orange);
    background: rgba(247, 108, 74, 0.1);
}

.theme-preview {
    width: 30px;
    height: 30px;
    background: var(--primary-orange);
    border-radius: 4px;
}

.theme-info h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.theme-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.3;
}

.checkmark {
    color: var(--primary-orange);
    font-weight: bold;
    margin-left: auto;
}

/* Sizes Screen */
.sizes-screen {
    background: linear-gradient(135deg, #98FB98 0%, #90EE90 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.green-d10 {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    width: 50px;
    height: 50px;
    font-size: 1rem;
    margin: 0.5rem;
}

.sizes-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.sizes-overlay h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.size-item {
    display: flex;
    gap: 0.5rem;
}

.size-preview {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    background: #f0f0f0;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.size-item.selected .size-preview {
    background: var(--primary-orange);
    color: white;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: #f8f9fa;
    text-align: center;
    position: relative;
}

.download h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #333;
}

.download p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-app-store, .btn-google-play, .btn-web-app {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-app-store:hover, .btn-google-play:hover, .btn-web-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.download-info {
    opacity: 0.8;
}

.download-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #666;
}

.download-banner {
    background: var(--primary-orange);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.download-banner h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.download-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-banner .requirement-text {
    color: white;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

.faq-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.faq-link {
    color: var(--primary-orange);
    text-decoration: underline;
}

.faq-link:hover {
    text-decoration: none;
}

/* Help Section */
.help-section {
    padding: 40px 0;
    background: var(--bg-cream);
}

.help-box {
    text-align: center;
    border: 2px dashed #ccc;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.help-box p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.help-link {
    color: var(--primary-orange);
    text-decoration: underline;
}

.help-link:hover {
    text-decoration: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots2" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots2)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .social-icons {
        gap: 0.3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .phone-mockups {
        height: 300px;
    }
    
    .phone-mockup {
        width: 150px;
        height: 250px;
    }
    
    .phone-mockup.foreground {
        right: 45%;
        margin-right: -75px;
    }
    
    .phone-mockup.background {
        left: 45%;
        margin-left: -75px;
    }
    
    .faq-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-banner {
        padding: 3rem 1.5rem;
    }
    
    .download-banner h2 {
        font-size: 2.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-text h2 {
        font-size: 2rem;
    }
    
    .faq-title {
        font-size: 2.5rem;
    }
    
    .download-banner h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}