/* Modern Reset & Variables */
:root {
    /* Premium Color Palette */
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-hover: #4f46e5;
    /* Indigo 600 */
    --secondary: #ec4899;
    /* Pink 500 */
    --accent: #a855f7;
    /* Purple 500 */
    --accent-glow: #8b5cf6;
    /* Violet 500 */

    /* Deep Space Backgrounds */
    --bg-dark: #0B0F19;
    /* Deeper, richer dark */
    --bg-darker: #05050A;
    /* near black */
    --bg-card: rgba(30, 41, 59, 0.3);
    /* More transparent */
    --bg-card-hover: rgba(40, 50, 75, 0.5);

    /* Typography Colors */
    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --text-highlight: #e2e8f0;
    /* Slate 200 */

    /* Borders & Glows */
    --border-color: rgba(148, 163, 184, 0.08);
    --border-glow: rgba(99, 102, 241, 0.25);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --container-padding: 2rem;

    /* Spacing & Radii */
    --radius-sm: 0.75rem;
    --radius-md: 1.5rem;
    --radius-lg: 2.5rem;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-narrow {
    max-width: 800px;
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

/* Portfolio Style */
.project-showcase {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.project-showcase::before {
    display: none;
}

/* Browser Frame */
.browser-frame {
    background: #1e293b;
    border-radius: var(--radius-sm);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-header {
    height: 40px;
    background: #1e293b;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #22c55e;
}

.browser-address {
    background: rgba(0, 0, 0, 0.3);
    height: 24px;
    border-radius: 4px;
    flex: 1;
    margin-left: 1rem;
    margin-right: 1rem;
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
    max-height: 500px;
    object-fit: cover;
    object-position: top;
    transition: opacity 0.3s;
}

.project-showcase:hover .project-image {
    opacity: 1;
    /* Keep opacity full for realism */
}

.project-info {
    padding: 3rem 0 0;
    text-align: center;
    background: transparent;
}

.bg-darker {
    background-color: var(--bg-darker);
    position: relative;
}

.bg-darker::after {
    /* Subtle separator line */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: radial-gradient(circle, var(--border-color) 0%, transparent 100%);
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: white;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-links a:not(.btn).active {
    color: white;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.nav-btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero */
.hero {
    padding-top: 12rem;
    padding-bottom: 10rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

/* Star field background */
.hero {
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.95) 0%, transparent 100%),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 80px 40px, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 100px 100px, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    background-size: 200px 200px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: #818cf8;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Abstract Visual */
.card-stack {
    position: relative;
    height: 450px;
    width: 100%;
    perspective: 1000px;
}

.card-visual {
    position: absolute;
    width: 85%;
    height: 400px;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(25px);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 20px rgba(99, 102, 241, 0.05);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    z-index: 2;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
    overflow: hidden;
    padding: 1.5rem;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.card-1:hover {
    transform: translate(-50%, -52%) rotate(-4deg) scale(1.02);
}

.card-2 {
    top: 50%;
    left: 50%;
    transform: translate(-45%, -45%) rotate(6deg);
    z-index: 1;
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.dummy-header {
    height: 20px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.dummy-hero {
    height: 140px;
    width: 100%;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dummy-content {
    height: 12px;
    width: 70%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-bottom: 0.8rem;
}

.dummy-content:nth-child(4) {
    width: 50%;
}

.floating-badge {
    position: absolute;
    padding: 0.8rem 1.4rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-1 {
    top: 15%;
    right: -10px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    left: -10px;
    animation-delay: 3s;
}

/* 3D Browser in Hero */
.hero-browser-wrapper {
    position: relative;
    perspective: 1200px;
    height: auto;
    width: 100%;
    margin-top: 2rem;
    z-index: 10;
}

.hero-browser {
    background: #1e293b;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform: rotateY(-6deg) rotateX(2deg) scale(1.08);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.hero-browser:hover {
    transform: rotateY(-4deg) rotateX(1deg) scale(1.1);
}

.browser-header {
    background: #0f172a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #22c55e;
}

.browser-address {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.hero-browser-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Adjust badges for the browser layout */
.hero-browser-wrapper .floating-badge {
    z-index: 20;
}

.hero-browser-wrapper .badge-1 {
    top: 15%;
    right: -40px;
}

.hero-browser-wrapper .badge-2 {
    bottom: 25%;
    left: -40px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Features grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.grid-balanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 5rem;
}

@media (max-width: 768px) {
    .grid-balanced {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0.5;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.1);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    flex-grow: 1;
}

/* Portfolio Style */
.project-showcase {
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.project-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(236, 72, 153, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.project-showcase:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.2);
}

.project-showcase:hover::before {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
    max-height: 500px;
    object-fit: cover;
    object-position: top;
    transition: opacity 0.3s;
}

.project-showcase:hover .project-image {
    opacity: 0.9;
}

.project-info {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-card), var(--bg-darker));
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Split Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.check-list {
    margin: 2.5rem 0;
    display: grid;
    gap: 1.2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.highlight-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.pill {
    background: rgba(99, 102, 241, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-weight: 500;
}

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    height: 640px;
    border: 10px solid #1e293b;
    border-radius: 45px;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.phone-mockup::before {
    /* Notch */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1e293b;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 2;
}

.screen {
    width: 100%;
    height: 100%;
    background: #0f172a;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.app-header {
    height: 20px;
    width: 100%;
    margin-bottom: 2rem;
}

.app-hero {
    height: 180px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.app-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.app-grid div {
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pricing */
.pricing-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(10px);
}

.pricing-header {
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(99, 102, 241, 0.03);
}

.price {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: var(--font-heading);
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.currency {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.period {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.5rem;
    letter-spacing: normal;
}

.pricing-body {
    padding: 4rem;
}

.pricing-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.list-col h4 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.list-col ul {
    gap: 1.2rem;
}

.list-col li {
    font-size: 1.05rem;
}

.warning li {
    color: #f87171;
}

/* Pricing Tier Grid */
.pricing-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    /* Center cards vertically */
}

.tier-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.6);
}

.tier-card.featured {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(99, 102, 241, 0.5);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.15), 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.25), 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

.best-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
    z-index: 3;
    white-space: nowrap;
}

.tier-header {
    padding: 3rem 2rem 1rem;
    text-align: center;
    background: transparent;
}

.tier-card.featured .tier-header {
    background: transparent;
    padding-top: 3.5rem;
}

.tier-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.tier-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.tier-price .currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-right: 0.25rem;
    font-weight: 600;
}

.tier-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.25rem;
}

.tier-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.tier-body {
    padding: 1rem 2rem 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tier-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tier-features li {
    padding: 0;
    color: var(--text-main);
    font-size: 1rem;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Custom checkmark for pricing */
.tier-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.tier-card.featured .tier-features li::before {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}


/* Comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.compare-card {
    padding: 3rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.compare-card.servesite {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(99, 102, 241, 0.4);
    position: relative;
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(12px);
}

.best-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.35rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.compare-card h3 {
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 1.5rem;
}

/* Process Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 4rem;
    margin-top: 6rem;
}

@media (min-width: 1100px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.step-item {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

/* Connecting line for steps (desktop only) */
@media (min-width: 1024px) {
    .step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 40px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), transparent);
        z-index: -1;
        opacity: 0.5;
    }
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4), inset 0 0 20px rgba(99, 102, 241, 0.2);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Audience Grid (Who This Is For) */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

.audience-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Distinct transparent look */
}

.audience-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.audience-card::after {
    /* Top accent line instead of bottom */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.audience-card:hover::after {
    width: 100%;
}

.audience-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.2));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audience-card:hover .audience-icon {
    transform: scale(1.1) rotate(5deg);
}

.audience-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

.audience-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* FAQ Redesign */
.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.faq-header {
    position: sticky;
    top: 120px;
}

.faq-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.faq-support-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-support-link:hover {
    gap: 0.8rem;
    /* Slide arrow */
    color: #818cf8;
}

.faq-container {
    margin-top: 0;
    display: grid;
    gap: 0;
    /* Clean separators instead */
}

.faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 1rem 0;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    padding: 1.5rem 0;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: white;
}

.faq-icon {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-left: 0;
    padding-bottom: 2rem;
    color: var(--text-muted);
    /* Ensure good contrast */
    font-size: 1.1rem;
}

/* CTA Floating Island */
.cta-section {
    background: transparent;
    /* Remove old gradient background from section, apply to card instead */
    padding: 4rem 0 0rem;
    /* Overlap footer visually */
    margin-bottom: -4rem;
    /* Negative margin to pull footer up or push header down? 
       Actually, let's just place it normally but style the card. */
    border: none;
    overflow: visible;
}

.cta-section::before {
    display: none;
}

.cta-card {
    background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%);
    border-radius: 2rem;
    padding: 5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

/* Abstract shapes on CTA card */
.cta-card::before,
.cta-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-card::before {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.3);
}

.cta-card::after {
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.2);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: #e2e8f0;
    margin-bottom: 3rem;
}

.small-text {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .card-stack {
        max-width: 450px;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .pricing-lists {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 1.1rem;
        max-width: 100%;
    }

    /* Mobile adjustments for hero browser */
    .hero-browser-wrapper {
        perspective: none;
        /* Flatten on mobile for clarity */
        transform: scale(0.9);
        margin-top: 1rem;
    }

    .hero-browser {
        transform: none;
        /* Remove 3D tilt on very small screens */
    }

    .hero-browser:hover {
        transform: none;
    }

    /* Hide badges on very small mobile to reduce clutter? Or adjust */
    .hero-browser-wrapper .floating-badge {
        transform: scale(0.8);
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        /* Full width on small screens usually looks better, or keep 80% with shadow */
        max-width: 300px;
        background: rgba(15, 23, 42, 0.85);
        /* Deep space glass */
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        /* More spacing */
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.9);
        z-index: 999;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--primary);
        transform: scale(1.1);
    }

    .nav-links .btn {
        margin-top: 1rem;
        width: 80%;
        font-size: 1.2rem;
        padding: 1rem;
    }

    .nav-links.active {
        transform: translateX(0);
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: white;
        position: absolute;
        transition: all 0.3s;
        border-radius: 2px;
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-btn span:nth-child(3) {
        bottom: 0;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        top: 50%;
        transform: translate(0, -50%) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        top: 50%;
        transform: translate(0, -50%) rotate(-45deg);
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-header {
        position: static;
        text-align: center;
    }

    .faq-header h2 {
        font-size: 2.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .compare-card.servesite {
        transform: none;
    }

    .nav-content {
        padding: 0 1.5rem;
    }

    .price {
        font-size: 4rem;
    }

    .pricing-body {
        padding: 2rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
        border-radius: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form */
.contact-section {
    position: relative;
}

/* Contact Section */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info {
    padding-top: 2rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-method {
    margin-bottom: 2.5rem;
}

.contact-method h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.email-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.email-link:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.email-link:hover::after {
    width: 100%;
}

.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.8));
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-info {
        text-align: center;
        padding-top: 0;
    }
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(2, 6, 23, 0.8);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* About Section */
.about-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.3), rgba(15, 23, 42, 0.5));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 6rem 5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
}

.about-card::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.highlight-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 5rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



.about-header {
    margin-bottom: 4rem;
}

.about-grid-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-item {
    background: transparent;
    padding: 0;
    border: none;
    transition: none;
}

.about-item:hover {
    background: transparent;
    transform: none;
    border-color: transparent;
}

.about-item p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .about-card {
        padding: 4rem 2rem;
    }

    .highlight-text {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {


    .highlight-text {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
}