/* =============================================
   DENNY DIGITAL — Portfolio Styles
   ============================================= */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    --bg-primary: #0b0614;
    --bg-secondary: #110d1f;
    --bg-card: #1a1330;
    --bg-card-hover: #241a3d;
    --accent: #7b39fc;
    --accent-glow: rgba(123, 57, 252, 0.3);
    --accent-dim: rgba(123, 57, 252, 0.1);
    --accent-secondary: #e040fb;
    --accent-cyan: #00d8ff;
    --text-primary: #f1f5f9;
    --text-secondary: #a8a3b8;
    --text-muted: #6b6180;
    --border-color: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(123, 57, 252, 0.25);
    --gradient-accent: linear-gradient(135deg, #7b39fc, #e040fb);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(123, 57, 252, 0.2);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: #fff;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section Common ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    background: var(--accent-dim);
    padding: 6px 16px;
    border-radius: 100px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 216, 255, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(0, 216, 255, 0.4);
    color: #fff;
}

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

.btn-primary:active {
    transform: translateY(0);
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 120px;
    height: 102px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo svg {
    width: 134px;
    height: 25px;
}

/* Text-based logo */
.nav-logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.nav-logo-text:hover {
    color: #ffffff;
    opacity: 0.85;
}

.logo-d {
    color: #7b39fc;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 10px;
}

.nav-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #ffffff;
    padding: 4px 10px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.75;
    color: #ffffff;
}

.nav-link-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.nav-link-dropdown svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

.btn-signin {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    color: #171717;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #d4d4d4;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-signin:hover {
    background: #f5f5f5;
    color: #171717;
}

.btn-getstarted {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    color: #fafafa;
    background: #7b39fc;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 4px 16px rgba(23, 23, 23, 0.04);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-getstarted:hover {
    background: #6a2be0;
    color: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0px 6px 24px rgba(123, 57, 252, 0.25);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    background: #000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
    padding-top: 102px;
}

/* Background Video */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

/* Animated gradient fallback when no video */
.hero-video-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 30% 80%, rgba(123, 57, 252, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(123, 57, 252, 0.08) 0%, transparent 60%);
    animation: heroGradientShift 8s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
    0% {
        background:
            radial-gradient(ellipse at 30% 80%, rgba(123, 57, 252, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 70% 60%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 100%, rgba(123, 57, 252, 0.08) 0%, transparent 60%);
    }

    100% {
        background:
            radial-gradient(ellipse at 50% 70%, rgba(123, 57, 252, 0.18) 0%, transparent 50%),
            radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse at 60% 90%, rgba(123, 57, 252, 0.1) 0%, transparent 60%);
    }
}

/* Blurred pill overlay */
.hero-blur-pill {
    position: absolute;
    top: 215px;
    left: 50%;
    transform: translateX(-50%);
    width: 801px;
    height: 384px;
    border-radius: 9999px;
    background: #000000;
    filter: blur(77.5px);
    z-index: 1;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 871px;
    gap: 24px;
    padding: 0 24px;
    text-align: center;
}

.hero-heading-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-line1 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 76px;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.15;
    margin: 0;
}

.hero-line2 {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 76px;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.15;
    margin: 0;
}

.hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #f6f7f9;
    opacity: 0.9;
    max-width: 613px;
    margin: 0;
}

/* CTA Buttons */
.hero-cta-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
}

.btn-hero-primary {
    font-family: 'Cabin', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
    background: #7b39fc;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-hero-primary:hover {
    background: #6a2be0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 57, 252, 0.35);
}

.btn-hero-secondary {
    font-family: 'Cabin', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.7;
    color: #f6f7f9;
    background: #2b2344;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-hero-secondary:hover {
    background: #362d52;
    color: #f6f7f9;
    transform: translateY(-2px);
}

/* Dashboard Image */
.hero-dashboard {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 80px;
    padding-bottom: 40px;
    width: 100%;
}

.hero-dashboard-frame {
    width: 1163px;
    max-width: 90vw;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid transparent;
    padding: 22.5px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.hero-dashboard-frame img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}


/* ---------- SERVICES ---------- */
.services {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
    padding: 120px 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    position: relative;
    z-index: 1;
}

.timeline-content {
    padding-top: 16px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-frame {
    position: relative;
    width: 260px;
    height: 260px;
}

.about-graphic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.about-initials {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
}

.about-accent-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0.2;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
}

.about-text .section-tag {
    display: inline-block;
    margin-bottom: 12px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.about-highlight-item:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.about-highlight-item i {
    color: var(--accent);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 120px 0;
    position: relative;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
}

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    margin-top: 8px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition);
}

.contact-info-card:hover {
    border-color: var(--border-accent);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.contact-info-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-info-card a {
    font-size: 0.95rem;
}

.contact-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

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

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-logo:hover {
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-divider {
    width: 50px;
    height: 2px;
    background: var(--gradient-accent);
    margin: 28px auto;
    border-radius: 2px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .nav-container {
        padding: 16px 40px;
    }

    .nav-left {
        gap: 40px;
    }

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

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-highlights {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        margin-top: 100px;
    }

    .hero-line1,
    .hero-line2 {
        font-size: 56px;
    }

    .hero-blur-pill {
        width: 600px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 20px;
        height: 70px;
    }

    .nav-left {
        gap: 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-right {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        margin-top: 60px;
        padding: 0 16px;
    }

    .hero-line1,
    .hero-line2 {
        font-size: clamp(32px, 8vw, 48px);
    }

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

    .hero-cta-row {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-blur-pill {
        width: 350px;
        height: 200px;
        top: 150px;
    }

    .hero-dashboard {
        margin-top: 48px;
    }

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

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

    .timeline-line {
        left: 28px;
    }

    .timeline-number {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
    }

    .timeline-item {
        gap: 20px;
    }

    .about-image-frame {
        width: 200px;
        height: 200px;
    }

    .about-initials {
        font-size: 3.5rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .services,
    .how-it-works,
    .about,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .timeline {
        padding-left: 0;
    }

    .hero-line1,
    .hero-line2 {
        font-size: 28px;
        letter-spacing: -1px;
    }
}

/* ---------- Form Success State ---------- */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 16px;
}

.form-success i {
    font-size: 3rem;
    color: var(--accent);
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.form-success p {
    color: var(--text-secondary);
}