/* LabTools Pro - Modern Website Styles */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #f472b6;
    --success: #10b981;
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --glow: rgba(99, 102, 241, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Animated gradient background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 60%, rgba(244, 114, 182, 0.15) 0%, transparent 50%),
        var(--bg-primary);
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(15, 15, 35, 0.85);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.app-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover .app-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

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

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

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientText 5s ease infinite;
}

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

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: white;
}

.download-btn {
    display: inline-block;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.download-btn img {
    height: 54px;
    display: block;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

/* iPhone Mockup Styles */
.iphone-mockup {
    position: relative;
    perspective: 1000px;
}

.iphone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e 0%, #0d0d1a 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: rotateY(-5deg) rotateX(2deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-15px); }
}

.iphone-mockup:hover .iphone-frame {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.iphone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #0d0d1a;
    border-radius: 20px;
    z-index: 10;
}

.iphone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
    display: block;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Platform Badges */
.platform-badges {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.platform-badge:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Screenshots Showcase Section */
.screenshots-section {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.screenshots-carousel {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

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

.iphone-mockup-small {
    position: relative;
}

.iphone-frame-small {
    position: relative;
    width: 220px;
    height: 460px;
    background: linear-gradient(145deg, #2a2a40 0%, #1a1a2e 100%);
    border-radius: 36px;
    padding: 10px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(99, 102, 241, 0.15);
    transition: all 0.4s ease;
}

.screenshot-item:hover .iphone-frame-small {
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.3),
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(99, 102, 241, 0.25);
}

.iphone-frame-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

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

.screenshot-label h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.screenshot-label p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 180px;
}

/* Why Section */
.why-section {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
}

.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Calculators Section */
.calculators-section {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
}

.calculator-category {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.category-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.category-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.calculator-card:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.calculator-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-right: 75px;
    line-height: 1.3;
}

.calculator-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

span.calc-tag {
    all: unset;
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: 20px !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    background: rgba(16, 185, 129, 0.2) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    z-index: 10 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: 80px !important;
    box-sizing: border-box !important;
}

span.calc-tag.pro {
    background: rgba(168, 85, 247, 0.25) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
}

/* Use Cases Section */
.use-cases {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
}

.use-case-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.use-case-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.use-case-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Guarantee */
.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    position: relative;
}

.guarantee span {
    font-size: 1.5rem;
}

.guarantee p {
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Developer Bio */
.developer-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
    font-style: italic;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    position: relative;
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Premium Section */
.premium {
    padding: 6rem 2rem;
    position: relative;
}

.premium-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent 30%);
    animation: rotate 8s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.premium h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.premium > .premium-container > p:first-of-type {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
    position: relative;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-radius: 10px;
    font-size: 0.95rem;
}

.premium-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--success), var(--secondary));
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.price-tag {
    display: inline-block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
    animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.price-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
}

/* Developer Section */
.developer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.developer-content {
    max-width: 600px;
    margin: 0 auto;
}

.developer-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    font-weight: 700;
}

.developer h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.developer p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Support Page */
.support-page, .legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.support-page h1, .legal-page h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 3rem;
}

.contact-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.contact-section h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--glow);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow);
    color: white;
}

.response-time {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.faq-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.faq-item p, .faq-item ul, .faq-item ol {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-item ul, .faq-item ol {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.faq-item li {
    margin-bottom: 0.5rem;
}

.resources-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.resources-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.resources-section li {
    padding: 0.5rem 0;
}

/* Legal Pages */
.legal-page section {
    margin-bottom: 2.5rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.legal-page section:first-of-type h2 {
    border-top: none;
    padding-top: 0;
}

.legal-page h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--secondary);
}

.legal-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-page ul, .legal-page ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.legal-page li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}

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

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-developer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border-radius: 10px;
}

.footer-developer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-developer-info {
    font-size: 0.85rem;
}

.footer-developer-info strong {
    display: block;
    color: var(--text-primary);
}

.footer-developer-info span {
    color: var(--text-muted);
}

.copyright {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 7rem 1.5rem 3rem;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .premium-container {
        padding: 2.5rem 1.5rem;
    }

    .premium-features {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .iphone-frame {
        width: 240px;
        height: 500px;
        border-radius: 38px;
        animation: none;
        transform: none;
    }

    .iphone-frame img {
        border-radius: 30px;
    }

    .hero-image {
        order: -1;
    }

    .screenshots-carousel {
        gap: 1.5rem;
    }

    .iphone-frame-small {
        width: 180px;
        height: 380px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .iphone-frame {
        width: 220px;
        height: 450px;
        border-radius: 35px;
    }

    .iphone-frame img {
        border-radius: 28px;
    }

    .iphone-notch {
        width: 80px;
        height: 22px;
        top: 14px;
    }

    .screenshots-carousel {
        gap: 1.5rem;
    }

    .iphone-frame-small {
        width: 160px;
        height: 340px;
        border-radius: 28px;
        padding: 8px;
    }

    .iphone-frame-small img {
        border-radius: 22px;
    }

    .screenshot-label h4 {
        font-size: 0.95rem;
    }

    .screenshot-label p {
        font-size: 0.75rem;
    }
}
