/* ===== FONTS ===== */
@font-face {
    font-family: 'Nunito';
    src: url('Nunito-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('Nunito-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
    --color-dark: #262626;
    --color-white: #fff;
    --color-blue: #0095ff;
    --color-primary: #0095ff;
    --color-gray: #666;
    --color-light-gray: #f5f5f5;
    --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-title: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    --max-width: 1100px;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HERO SECTION ===== */
.hero {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
    -webkit-mask: linear-gradient(#000 84%, transparent 100%);
    mask: linear-gradient(#000 84%, transparent 100%);
}

/* Hero Background Container - behind content */
.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    flex: none;
    overflow: hidden;
}

.hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #4772ff 0%, #00acff 50%, #fff 85%);
}

/* Clouds Background */
.hero-clouds {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    transform: scale(1.05);
    will-change: transform;
}

.hero-clouds img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Floating Clouds */
.floating-cloud {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    will-change: transform;
    overflow: hidden;
}

.floating-cloud img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.cloud-1 {
    top: 450px;
    left: -120px;
    width: 750px;
    height: 460px;
    opacity: 0.7;
    animation: floatCloud1 8s ease-in-out infinite;
}

.cloud-2 {
    top: 520px;
    right: -120px;
    width: 750px;
    height: 460px;
    opacity: 0.7;
    animation: floatCloud2 10s ease-in-out infinite;
}

@keyframes floatCloud1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

@keyframes floatCloud2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-35px); }
}

/* Header - Notch Style */
.header-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    z-index: 100;
    width: 100%;
    max-width: 1200px;
    padding: 0;
    animation: headerDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container.compact {
    max-width: 700px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 48px;
    background: transparent;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container.compact .header {
    padding: 12px 24px;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.header.hidden {
    transform: translateY(-100%);
}

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

.header-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.header-logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.header.scrolled .header-logo span {
    color: var(--color-dark);
}

.header-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header-links a {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.04em;
    transition: color 0.3s ease;
}

.header-links a:hover {
    color: var(--color-white);
}

.header.scrolled .header-links a {
    color: var(--color-gray);
}

.header.scrolled .header-links a:hover {
    color: var(--color-dark);
}

.header-cta {
    display: flex;
    align-items: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    background: var(--color-white);
    color: var(--color-blue);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    transition: var(--transition);
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.header.scrolled .btn-download {
    background: var(--color-blue);
    color: var(--color-white);
}

.header.scrolled .btn-download:hover {
    box-shadow: 0 4px 20px rgba(0, 149, 255, 0.4);
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    padding: 140px 48px 20px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* Floating Shapes around Title */
.floating-shape {
    position: absolute;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
}

.floating-shape svg {
    width: 100%;
    height: 100%;
}

/* Shape 1 - Star top left */
.shape-1 {
    width: 65px;
    height: 65px;
    left: -25px;
    top: 140px;
    animation: shapeStick1 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards, float1 6s ease-in-out 1.3s infinite;
}

/* Shape 2 - Plus top right */
.shape-2 {
    width: 45px;
    height: 45px;
    right: -5px;
    top: 160px;
    animation: shapeStick2 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s forwards, float2 7s ease-in-out 1.45s infinite;
}

/* Shape 3 - Star bottom left */
.shape-3 {
    width: 55px;
    height: 55px;
    left: 10px;
    top: 250px;
    animation: shapeStick3 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards, float3 8s ease-in-out 1.6s infinite;
}

/* Shape 4 - Plus bottom right */
.shape-4 {
    width: 60px;
    height: 60px;
    right: -15px;
    top: 240px;
    animation: shapeStick4 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.95s forwards, float4 5s ease-in-out 1.75s infinite;
}

@keyframes float1 {
    0%, 100% { transform: scale(1) translateY(0) rotate(16deg); }
    50% { transform: scale(1) translateY(-25px) rotate(22deg); }
}

@keyframes float2 {
    0%, 100% { transform: scale(1) translateY(0) rotate(-14deg); }
    50% { transform: scale(1) translateY(-20px) rotate(-8deg); }
}

@keyframes float3 {
    0%, 100% { transform: scale(1) translateY(0) rotate(-20deg); }
    50% { transform: scale(1) translateY(-28px) rotate(-14deg); }
}

@keyframes float4 {
    0%, 100% { transform: scale(1) translateY(0) rotate(25deg); }
    50% { transform: scale(1) translateY(-18px) rotate(32deg); }
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 14px 4px 4px;
    background: var(--color-white);
    border-radius: 300px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-blue);
    width: min-content;
    height: min-content;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-badge .badge-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    background: rgba(0, 149, 255, 0.3);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge .badge-text {
    white-space: nowrap;
    background: linear-gradient(
        90deg,
        var(--color-blue) 0%,
        var(--color-blue) 40%,
        #00d4ff 50%,
        var(--color-blue) 60%,
        var(--color-blue) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2.5s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-title);
    font-size: 68px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -3px;
    color: var(--color-white);
    text-shadow:
        0 2px 0 rgba(0, 100, 180, 0.3),
        0 4px 0 rgba(0, 80, 150, 0.25),
        0 6px 0 rgba(0, 60, 120, 0.2),
        0 8px 0 rgba(0, 40, 90, 0.15),
        0 12px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.hero-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: letterReveal 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 480px;
    margin-bottom: -10px;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px) scale(0.95);
    animation: subtitleReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.6s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--color-white);
    color: var(--color-dark);
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    perspective: 1000px;
    opacity: 0;
    animation: fadeIn 0.5s ease 1.4s forwards;
}

.phone-mockup {
    position: relative;
    transform-style: preserve-3d;
    animation: phoneRise 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards;
    opacity: 0;
    transform: translateY(100px) rotateX(25deg) scale(0.85);
}

.phone-mockup .mockup-frame {
    width: 280px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.25));
}

.phone-mockup .screen-content {
    position: absolute;
    top: 1.2%;
    left: 3.6%;
    width: 92.8%;
    height: auto;
    border-radius: 40px;
    z-index: 3;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 48px;
    background: var(--color-white);
}

.features-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1;
    color: var(--color-dark);
    margin-bottom: 24px;
    -webkit-text-stroke: 1px var(--color-dark);
}

.section-subtitle {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-gray);
    max-width: 500px;
    margin: 0 auto;
}

/* Features Fan Layout */
.features-fan {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 380px;
    margin: 0 auto;
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fan-phone {
    position: absolute;
    width: 220px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    transform-origin: center bottom;
    cursor: pointer;
}

.fan-phone .mockup-frame {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transition: filter 0.4s ease;
}

.fan-phone .screen-content {
    position: absolute;
    top: 1.2%;
    left: 3.6%;
    width: 92.8%;
    height: auto;
    border-radius: 32px;
    z-index: 1;
}

/* Fan rotations - spread from center */
.fan-phone-1 {
    transform: rotate(-20deg) translateX(-140px);
    z-index: 4;
}

.fan-phone-2 {
    transform: rotate(-7deg) translateX(-47px);
    z-index: 3;
}

.fan-phone-3 {
    transform: rotate(7deg) translateX(47px);
    z-index: 2;
}

.fan-phone-4 {
    transform: rotate(20deg) translateX(140px);
    z-index: 1;
}

/* When a phone is active, hide others */
.features-fan.has-active .fan-phone {
    opacity: 0;
    pointer-events: none;
}

/* Active phone stays visible and scales up */
.features-fan .fan-phone.active {
    opacity: 1;
    pointer-events: auto;
    transform: rotate(0deg) translateX(0) scale(1.15);
    z-index: 10;
}

.fan-phone.active .mockup-frame {
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.35));
}

/* Feature Tooltip */
.feature-tooltip {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-dark);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 24px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    z-index: 20;
}

.feature-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--color-dark);
}

.tooltip-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tooltip-desc {
    display: block;
    font-size: 14px;
    opacity: 0.8;
    font-weight: 400;
}

.fan-phone.active .feature-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== WIDGETS SECTION ===== */
.widgets {
    padding: 100px 48px;
    background: var(--color-white);
}

.widgets-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.widgets-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* Platform Icons - positioned on cards */
.platform-icon {
    position: absolute;
    z-index: 10;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.platform-icon-ios {
    top: -25px;
    right: -20px;
    transform: rotate(12deg);
}

.platform-icon-ios svg {
    width: 60px;
    height: 60px;
    fill: var(--color-dark);
}

.platform-icon-macos {
    top: -25px;
    left: -20px;
    transform: rotate(-12deg);
}

.platform-icon-macos img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.widget-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #ff7300;
    border-radius: 24px;
    padding: 24px 32px;
    transition: var(--transition);
    overflow: visible;
}

.widget-card:nth-child(2) {
    background: #00a1ff;
}

.widget-card:nth-child(3) {
    background: #ad6dff;
}

.widget-card:hover {
    transform: translateY(-4px);
}

.widget-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.widget-card-title {
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
}

.widget-card-desc {
    font-size: 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.widget-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.widget-card-image img {
    width: 280px;
    height: auto;
    border-radius: 20px;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 120px 48px;
    background: linear-gradient(180deg, #fff 0%, #00acff 50%, #4772ff 100%);
    text-align: center;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-title);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-gray);
    margin-bottom: 40px;
}

.cta .btn-primary {
    background: var(--color-dark);
    color: var(--color-white);
}

.cta .btn-primary:hover {
    background: #000;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 80px 24px;
    background: var(--color-white);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-title {
    font-family: var(--font-title);
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1;
    color: var(--color-dark);
    margin-bottom: 24px;
    -webkit-text-stroke: 1px var(--color-dark);
}

.faq-subtitle {
    font-size: 22px;
    color: var(--color-gray);
}

.faq-subtitle a.email-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.faq-subtitle a.email-link:hover {
    text-decoration: underline;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f7f6f6;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    font-size: 22px;
    font-weight: 500;
    color: var(--color-dark);
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-icon .icon-v,
.faq-icon .icon-h {
    position: absolute;
    background: var(--color-primary);
    border-radius: 3px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.faq-icon .icon-v {
    width: 4px;
    height: 18px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon .icon-h {
    width: 18px;
    height: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon .icon-v {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon .icon-h {
    transform: translate(-50%, -50%) rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-answer > p {
    overflow: hidden;
    padding: 0 24px;
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-gray);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > p {
    padding: 0 24px 24px;
    opacity: 1;
    transform: translateY(0);
}

/* Download Button - Duolingo Style */
.faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 48px;
    background: #00ce44;
    color: var(--color-white);
    font-size: 22px;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: -0.04em;
    margin-top: 48px;
    position: relative;
    border: none;
    box-shadow: 0 8px 0 #00a336;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.download-btn:hover {
    transform: translateY(3px);
    box-shadow: 0 5px 0 #00a336;
}

.download-btn:active {
    transform: translateY(8px);
    box-shadow: 0 0px 0 #00a336;
}

.download-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ===== FOOTER ===== */
.footer {
    padding: 48px;
    background: var(--color-white);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f6f6;
    border-radius: 20px;
    padding: 32px 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    opacity: 0.6;
}

.footer-tagline {
    font-size: 13px;
    color: var(--color-dark);
    opacity: 0.4;
}

.powered-by-claude {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-dark);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.powered-by-claude:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.08);
}

.powered-by-claude svg {
    flex-shrink: 0;
}

.powered-by-claude-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    margin-top: 40px;
    color: var(--color-dark);
    opacity: 0.5;
    transition: all 0.3s ease;
    font-size: 14px;
}

.powered-by-claude-large:hover {
    opacity: 0.8;
}

.powered-by-claude-large svg {
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-dark);
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: var(--color-dark);
    opacity: 0.6;
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.12);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Letter by letter stagger animation */
@keyframes letterReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle blur reveal animation */
@keyframes subtitleReveal {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

/* Header drop animation with bounce */
@keyframes headerDrop {
    0% {
        transform: translateX(-50%) translateY(-100%);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
    70% {
        transform: translateX(-50%) translateY(-4px);
    }
    85% {
        transform: translateX(-50%) translateY(2px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* Phone 3D rise animation */
@keyframes phoneRise {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateX(25deg) scale(0.85);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

/* Shape stick animations - fall from top with spin */
@keyframes shapeStick1 {
    0% {
        opacity: 0;
        transform: translateY(-80px) rotate(-180deg) scale(0.5);
    }
    70% {
        opacity: 1;
        transform: translateY(5px) rotate(20deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(16deg) scale(1);
    }
}

@keyframes shapeStick2 {
    0% {
        opacity: 0;
        transform: translateY(-80px) rotate(180deg) scale(0.5);
    }
    70% {
        opacity: 1;
        transform: translateY(5px) rotate(-18deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-14deg) scale(1);
    }
}

@keyframes shapeStick3 {
    0% {
        opacity: 0;
        transform: translateY(-80px) rotate(-220deg) scale(0.5);
    }
    70% {
        opacity: 1;
        transform: translateY(5px) rotate(-16deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-20deg) scale(1);
    }
}

@keyframes shapeStick4 {
    0% {
        opacity: 0;
        transform: translateY(-80px) rotate(200deg) scale(0.5);
    }
    70% {
        opacity: 1;
        transform: translateY(5px) rotate(30deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(25deg) scale(1);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-content {
        padding: 70px 24px 30px;
        gap: 20px;
    }

    .hero-title {
        font-size: 48px;
        text-shadow:
            0 2px 0 rgba(0, 100, 180, 0.3),
            0 4px 0 rgba(0, 80, 150, 0.25),
            0 6px 0 rgba(0, 60, 120, 0.2),
            0 8px 15px rgba(0, 0, 0, 0.12);
    }

    .hero-image-container {
        padding: 0 24px 40px;
    }

    .phone-mockup .mockup-frame {
        width: 240px;
    }

    .phone-mockup .screen-content {
        border-radius: 18px;
        z-index: 1;
    }

    .floating-cloud {
        display: none;
    }

    .floating-shape {
        display: none;
    }

    .header-container {
        max-width: 100%;
    }

    .header {
        padding: 10px 16px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .header-links {
        display: none;
    }

    .features {
        padding: 80px 24px;
        overflow: hidden;
    }

    .features-fan {
        height: 380px;
    }

    .fan-phone {
        width: 140px;
    }

    .fan-phone-1 {
        transform: rotate(-18deg) translateX(-85px);
    }

    .fan-phone-2 {
        transform: rotate(-6deg) translateX(-28px);
    }

    .fan-phone-3 {
        transform: rotate(6deg) translateX(28px);
    }

    .fan-phone-4 {
        transform: rotate(18deg) translateX(85px);
    }

    .features-fan .fan-phone.active {
        transform: rotate(0deg) translateX(0) scale(1.15);
    }

    .fan-phone .screen-content {
        border-radius: 20px;
    }

    .feature-tooltip {
        padding: 10px 14px;
        border-radius: 16px;
        bottom: -70px;
    }

    .tooltip-title {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .tooltip-desc {
        font-size: 11px;
    }

    .feature-tooltip::before {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid var(--color-dark);
        top: -5px;
    }

    .section-title {
        font-size: 32px;
        letter-spacing: 0;
    }

    .widgets {
        padding: 80px 24px;
    }

    .widgets-grid {
        gap: 20px;
    }

    .platform-icon-ios {
        top: -18px;
        right: -10px;
    }

    .platform-icon-ios svg {
        width: 45px;
        height: 45px;
    }

    .platform-icon-macos {
        top: -18px;
        left: -10px;
    }

    .platform-icon-macos img {
        width: 45px;
        height: 45px;
    }

    .widget-card {
        flex-direction: column;
        padding: 24px;
        text-align: center;
    }

    .widget-card-title {
        font-size: 22px;
    }

    .widget-card-desc {
        font-size: 14px;
    }

    .widget-card-image img {
        width: 100%;
        max-width: 260px;
    }

    .cta {
        padding: 80px 24px;
    }

    .cta-title {
        font-size: 32px;
    }

    .footer {
        padding: 40px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 28px 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

}

@media (max-width: 480px) {
    .hero-content {
        padding: 60px 20px 20px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1.5px;
        text-shadow:
            0 1px 0 rgba(0, 100, 180, 0.3),
            0 2px 0 rgba(0, 80, 150, 0.25),
            0 3px 0 rgba(0, 60, 120, 0.2),
            0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-image-container {
        padding: 0 20px 30px;
    }

    .phone-mockup .mockup-frame {
        width: 200px;
    }

}
