:root {
    --primary: #ffffff;
    --text: #ffffff;
    --text-dark: #1a1a1f;
    --accent: #ff6f3c;
    --accent-light: rgba(255, 111, 60, 0.2);
    --accent-2: #3a7bd5;
    --accent-3: #7f56d9;
    --panel: rgba(255, 255, 255, 0.78);
    --bg-light: #eef2ff;
    --border: rgba(26, 26, 31, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 111, 60, 0.2), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 123, 213, 0.18), transparent 55%),
        linear-gradient(180deg, #f7f8ff 0%, #eef6ff 100%);
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(238, 242, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(26, 26, 31, 0.08);
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo {
    height: 40px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

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

.btn-small {
    padding: 10px 24px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 111, 60, 0.2), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 123, 213, 0.18), transparent 55%),
        linear-gradient(180deg, #f7f8ff 0%, #eef6ff 100%);
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--text-dark);
}

.hero-text h1 {
    font-family: "DM Serif Display", "Times New Roman", serif;
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-text h1 .highlight {
    color: #3a7bd5;
}

.hero-rotate-line {
    display: block;
    min-height: 1.2em;
    white-space: nowrap;
}

.hero-share-line {
    display: block;
    white-space: nowrap;
}

.hero-rotate {
    display: inline-block;
    color: #ff6f3c;
    min-width: 13ch;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-rotate.is-fading {
    opacity: 0;
    transform: translateY(10px);
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-store-btn,
.play-store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 12px 24px rgba(26, 26, 31, 0.14);
}

.app-store-btn:hover,
.play-store-btn:hover {
    border-color: rgba(255, 111, 60, 0.4);
    transform: translateY(-2px);
}

.app-store-btn svg,
.play-store-btn svg {
    width: 36px;
    height: 36px;
}

.app-store-btn svg {
    width: 40px;
    height: 40px;
}

.app-store-btn span,
.play-store-btn span {
    display: flex;
    flex-direction: column;
}

.small {
    font-size: 12px;
    color: #5b6472;
    opacity: 0.9;
}

.large {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Mobile Phone Preview */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ff9b72);
    color: #1a1a1f;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(255, 111, 60, 0.3);
}

.btn-secondary {
    background: var(--panel, rgba(255, 255, 255, 0.78));
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: rgba(26, 26, 31, 0.18);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.6);
}

.pricing-section h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.pricing-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 18px;
    margin-bottom: 48px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    color: #475569;
}

.pricing-toggle__label {
    font-size: 14px;
    font-weight: 600;
}

.pricing-save {
    background: #fef3c7;
    color: #92400e;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-hint {
    display: none;
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.pricing-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 54px;
    height: 28px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #e2e8f0;
    border-radius: 999px;
    transition: background 0.3s ease;
}

.pricing-slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
    transition: transform 0.3s ease;
}

.pricing-switch input:checked + .pricing-slider {
    background: var(--accent);
}

.pricing-switch input:checked + .pricing-slider::before {
    transform: translateX(26px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pricing-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--accent);
    color: var(--text);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.pricing-description {
    color: #64748b;
    font-size: 14px;
}

.pricing-price {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
}

.price-amount--free {
    font-size: 40px;
}

.price-period {
    color: #64748b;
    font-size: 14px;
    text-align: left;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pricing-savings {
    font-size: 13px;
    font-weight: 600;
    color: #3a7bd5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.pricing-section.is-yearly .pricing-savings {
    opacity: 1;
    max-height: 2em;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    color: #475569;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 14px;
    font-weight: 700;
}

.pricing-icon--yes {
    color: #16a34a;
}

.pricing-icon--no {
    color: #dc2626;
}

.pricing-feature--off {
    opacity: 0.75;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    color: #64748b;
    max-width: 620px;
    line-height: 1.6;
    font-size: 16px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.list-item span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0e7490;
    font-weight: 700;
    font-size: 12px;
}

.list-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.gallery {
    position: relative;
}

.gallery-group {
    transition: opacity 0.6s ease;
    will-change: opacity;
}

.gallery-group.is-hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.gallery-group.is-active {
    opacity: 1;
    position: relative;
}

.gallery-group--mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-group--web {
    display: block;
}

.gallery img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
    animation: fadeInUp 0.6s ease;
}

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

.feature-block.reverse > * {
    direction: ltr;
}

.feature-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-image-mock {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 300;
    border-radius: 12px;
}

.image-mock-1 {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.image-mock-2 {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.image-mock-3 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.image-mock-4 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.image-mock-5 {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.feature-content {
    padding: 20px;
}

.feature-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.feature-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.2;
}

.feature-content p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.8;
}

.feature-image-mobile-wrapper {
    display: none;
    margin-top: 32px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 111, 60, 0.18), rgba(58, 123, 213, 0.2));
    color: var(--text-dark);
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* Footer */
.footer {
    padding: 64px 0 0;
    background: var(--text-dark);
    color: var(--text);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-note {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-email,
.footer-email:visited {
    color: var(--accent);
    color: rgba(255, 255, 255, 0.6);
}

.footer-email:hover,
.footer-email:focus {
    color: var(--accent);
}

.footer-email:active {
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 36px;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

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

.faq-section h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.faq-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 18px;
    margin-bottom: 48px;
}

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-header {
    padding: 20px;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-header:hover {
    background: #f1f5f9;
}

.faq-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    padding: 20px;
    max-height: 500px;
}

.faq-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .logo-wrapper {
        justify-content: center;
    }

    .nav {
        gap: 8px;
        order: 2;
        width: 100%;
        margin-top: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nav-link {
        font-size: 13px;
        text-align: center;
        padding: 8px 6px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }

    .nav-actions {
        order: 3;
        width: 100%;
        display: flex;
        gap: 10px;
    }

    .nav-actions .btn {
        flex: 1;
        padding: 10px 0;
        font-size: 14px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 96px;
        padding-bottom: 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-phone {
        order: -1;
        margin-top: 12px;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
    }

    .app-buttons {
        margin-bottom: 24px;
        position: relative;
        z-index: 1;
    }

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

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 80px;
    }

    .feature-block.reverse {
        direction: ltr;
    }

    .feature-image-wrapper {
        display: none;
    }

    .feature-image-mobile-wrapper {
        display: block;
    }

    .feature-content {
        padding: 0;
    }

    .feature-content h2 {
        font-size: 28px;
    }

    .feature-content p {
        font-size: 16px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .features-section {
        padding: 60px 0;
    }

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

    .faq-section h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pricing-hint {
        display: block;
    }

    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 0 10px 24px;
        margin: 0 -10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 72%;
        scroll-snap-align: center;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-header {
        margin-bottom: 16px;
    }

    .pricing-price {
        margin-bottom: 20px;
    }

    .pricing-savings {
        margin-top: 0;
        margin-bottom: 0;
    }

    .pricing-features {
        margin-bottom: 20px;
    }

    .pricing-features li {
        padding: 8px 0;
    }

    .pricing-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px 20px;
    }

    .header-logo {
        height: 32px;
    }

    .brand-name {
        font-size: 16px;
    }

    .nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .app-buttons {
        flex-direction: column;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .gallery {
        display: block;
    }

    .feature-content h2 {
        font-size: 24px;
    }

    .feature-label {
        font-size: 12px;
    }

    .btn {
        width: 100%;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .faq-section h2 {
        font-size: 28px;
    }

    .faq-header h3 {
        font-size: 14px;
    }

    .faq-header {
        padding: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-section h4 {
        font-size: 13px;
    }

    .footer-section a {
        font-size: 13px;
    }

    .pricing-card {
        padding: 24px;
        flex-basis: 80%;
    }

    .pricing-header {
        margin-bottom: 12px;
    }

    .pricing-price {
        margin-bottom: 16px;
    }

    .pricing-features {
        margin-bottom: 16px;
    }

    .pricing-features li {
        padding: 6px 0;
    }

    .pricing-header h3 {
        font-size: 20px;
    }

    .price-amount {
        font-size: 36px;
    }

    .pricing-section h2 {
        font-size: 24px;
    }

    .pricing-subtitle {
        font-size: 14px;
    }
}

/* ── Trial Callout (Hero) ── */
.trial-callout {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.trial-callout__badge {
    background: #30D158;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.trial-callout__text {
    color: var(--text-dark);
    font-size: 0.95rem;
    opacity: 0.75;
}

/* ── Trial Banner (Pricing Section) ── */
.pricing-trial-banner {
    text-align: center;
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.1) 0%, rgba(48, 209, 88, 0.05) 100%);
    border: 1px solid rgba(48, 209, 88, 0.3);
    border-radius: 12px;
    padding: 12px 24px;
    margin: 0 auto 32px;
    max-width: 560px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.pricing-trial-banner__icon {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .trial-callout {
        justify-content: center;
        text-align: center;
    }

    .pricing-trial-banner {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}
