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

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --off-white: rgba(255, 255, 255, 0.95);
    --off-black: rgba(0, 0, 0, 0.95);
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #999999;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.25);
    --serif-font: 'Playfair Display', Georgia, serif;
    --body-font: 'Crimson Text', Georgia, serif;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
    background: var(--primary-white);
    font-size: 18px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--off-white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-icon span {
    width: 32px;
    height: 4px;
    background: var(--primary-black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon:hover span {
    background: var(--gray-dark);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-text {
    font-family: var(--serif-font);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-black);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:not(.cta-button):hover {
    opacity: 0.7;
}

.cta-button {
    background: var(--primary-black);
    color: var(--primary-white) !important;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-family: var(--serif-font);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
    background: var(--primary-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.panther-pattern {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M50,30 Q80,10 110,30 T170,30 Q150,60 170,90 T150,150 Q120,170 90,150 T30,150 Q10,120 30,90 T50,30" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="2"/></svg>');
    background-size: 400px 400px;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: drift 30s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: rotate(45deg) translateX(0); }
    50% { transform: rotate(45deg) translateX(50px); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.app-frame {
    background: var(--off-white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.app-header {
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--serif-font);
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-family: var(--body-font);
    font-size: 1.5rem;
    color: var(--gray-medium);
    font-style: italic;
}

.hero-description {
    font-family: var(--body-font);
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.input-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.preview-input,
.preview-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary-black);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1.1rem;
    background: var(--primary-white);
}

.preview-textarea {
    min-height: 100px;
    resize: none;
}

.generate-btn {
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 8px;
    font-family: var(--serif-font);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

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

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--serif-font);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-black);
}

.stat-label {
    display: block;
    font-family: var(--body-font);
    color: var(--gray-medium);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-card {
    position: absolute;
    background: var(--off-white);
    border: 2px solid var(--primary-black);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    width: 200px;
    animation: floatCard 6s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 25%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.card-header {
    font-family: var(--serif-font);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.card-preview {
    font-family: var(--body-font);
    font-size: 0.9rem;
}

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

.calc-btn {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
}

.calc-btn.op {
    background: var(--gray-dark);
}

.todo-item {
    padding: 6px 0;
    text-align: left;
    color: var(--gray-dark);
}

.todo-item.done {
    color: var(--gray-light);
    text-decoration: line-through;
}

.timer-display {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.timer-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.timer-btn {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--serif-font);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-black);
    margin: 1.5rem auto;
}

.section-description {
    font-family: var(--body-font);
    color: var(--gray-medium);
    font-size: 1.25rem;
    font-style: italic;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--primary-white);
}

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

.feature-card {
    background: var(--off-white);
    border: 2px solid var(--primary-black);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-black);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-number {
    font-family: var(--serif-font);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-black);
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.feature-card h3 {
    font-family: var(--serif-font);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.feature-card p {
    font-family: var(--body-font);
    color: var(--gray-dark);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: #fafafa;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-frame {
    background: var(--off-white);
    border: 3px solid var(--primary-black);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-frame:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-black);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif-font);
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 1.5rem;
}

.step-frame h3 {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.step-frame p {
    font-family: var(--body-font);
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-visual {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mini-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.input-label {
    font-family: var(--serif-font);
    font-weight: 700;
    color: var(--primary-black);
}

.input-example {
    color: var(--gray-medium);
    font-family: var(--body-font);
    font-style: italic;
}

.ai-animation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ai-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-black);
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

.ai-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    30% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

.generating-text {
    font-family: var(--body-font);
    color: var(--gray-medium);
    font-style: italic;
}

.app-ready {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.check-mark {
    font-size: 2rem;
    color: var(--primary-black);
}

.ready-text {
    font-family: var(--serif-font);
    font-weight: 700;
    color: var(--primary-black);
}

/* Showcase */
.showcase {
    padding: 5rem 0;
    background: var(--primary-white);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-item {
    background: var(--off-white);
    border-left: 4px solid var(--primary-black);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.showcase-number {
    font-family: var(--serif-font);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-black);
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.showcase-item h4 {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.showcase-item p {
    font-family: var(--body-font);
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.showcase-tag {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 0.25rem 1rem;
    border-radius: 4px;
    font-family: var(--serif-font);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Demo Section */
.demo {
    padding: 5rem 0;
    background: #fafafa;
}

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

.demo-text {
    padding-right: 2rem;
}

.demo-description {
    font-family: var(--body-font);
    color: var(--gray-dark);
    font-size: 1.25rem;
    margin: 1rem 0 2rem;
    line-height: 1.8;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--body-font);
    font-size: 1.1rem;
}

.check {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.demo-video {
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--primary-black);
    border-radius: 40px;
    margin: 0 auto;
    padding: 10px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-notch {
    width: 150px;
    height: 25px;
    background: var(--primary-black);
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--off-white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.oneshot-ui {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ui-header {
    background: var(--off-white);
    padding: 3rem 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
}

.ui-menu,
.ui-profile {
    font-size: 1.5rem;
}

.ui-title {
    font-family: var(--serif-font);
    font-weight: 700;
    font-size: 1.25rem;
}

.ui-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card-demo {
    background: var(--primary-white);
    border: 2px solid var(--primary-black);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--serif-font);
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-card-demo:hover {
    background: var(--primary-black);
    color: var(--primary-white);
}

.app-arrow {
    font-size: 1.25rem;
}

.ui-fab {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-black);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border-radius: 40px;
}

.play-button {
    background: rgba(0,0,0,0.8);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid var(--primary-white);
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--primary-black);
}

/* Download Section */
.download {
    padding: 5rem 0;
    background: var(--primary-black);
}

.download-card {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--off-white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.download .section-title {
    color: var(--primary-black);
}

.download-description {
    font-family: var(--body-font);
    color: var(--gray-dark);
    font-size: 1.25rem;
    margin: 1rem 0 2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.store-btn {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.store-icon {
    font-size: 2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.store-small {
    font-family: var(--body-font);
    font-size: 0.85rem;
    opacity: 0.9;
}

.store-large {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    font-weight: 700;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-family: var(--body-font);
    color: var(--gray-dark);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--primary-white);
    border-top: 4px solid var(--primary-black);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--serif-font);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.footer-brand p {
    font-family: var(--body-font);
    color: var(--gray-medium);
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--serif-font);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.footer-column a {
    display: block;
    font-family: var(--body-font);
    color: var(--gray-dark);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-black);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-family: var(--body-font);
    color: var(--gray-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
    }
    
    .demo-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .floating-cards {
        display: none;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}

/* App Store Button Fix */
.app-store-button {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.app-store-button:hover .store-btn {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}