/* Perkins Growth Systems - Modern Agency CSS Styles */
/* Color Variables */
:root {
    /* Primary Brand Colors */
    --perkins-blue: #1e3a8a;
    --perkins-blue-dark: #1e40af;
    --perkins-blue-light: #3b82f6;
    --perkins-blue-50: #eff6ff;
    --perkins-blue-100: #dbeafe;
    --perkins-blue-200: #bfdbfe;
    
    /* Neutral Palette */
    --clean-white: #ffffff;
    --off-white: #fafafa;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Accent Colors */
    --success-gold: #f59e0b;
    --success-gold-100: #fff3cd;
    --success-gold-200: #fde68a;
    --success-gold-300: #f59e0b;
    
    /* Semantic Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-tertiary: var(--gray-500);
    --bg-primary: var(--clean-white);
    --bg-secondary: var(--off-white);
    --bg-tertiary: var(--gray-50);
    --border-color: var(--gray-200);
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.15);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Modern Typography System */
:root {
    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-serif: 'Libre Baskerville', Georgia, serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Scale System */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;
    
    /* Line Heights */
    --leading-tight: 1.2;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
}

/* CSS Reset & Base Styles */
* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-family-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Container System */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 768px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 48px;
        padding-right: 48px;
    }
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: var(--font-weight-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

h1 {
    font-size: var(--text-7xl);
    font-weight: var(--font-weight-extrabold);
}

h2 {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-extrabold);
}

h3 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
}

h4 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
}

h5 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
}

h6 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
}

p {
    margin: 0 0 1rem 0;
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

a {
    color: var(--perkins-blue);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}

a:hover {
    color: var(--perkins-blue-dark);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--perkins-blue);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Modern Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-family-sans);
    font-weight: var(--font-weight-semibold);
    text-transform: none;
    letter-spacing: 0;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--perkins-blue), var(--perkins-blue-dark));
    color: white;
    border-color: var(--perkins-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--perkins-blue);
    border-color: var(--perkins-blue-200);
}

.btn-secondary:hover {
    background: var(--perkins-blue-50);
    border-color: var(--perkins-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--gray-300);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--text-lg);
    border-radius: 14px;
}

.btn-small {
    padding: 8px 16px;
    font-size: var(--text-sm);
    border-radius: 10px;
}

/* Modern Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 50;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

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

.logo-image {
    height: 95px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-sm);
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.nav-link.active {
    color: var(--perkins-blue);
    background: var(--perkins-blue-50);
}

.header-cta {
    background: linear-gradient(135deg, var(--success-gold), #d97706);
    color: white;
    box-shadow: var(--shadow-card);
}

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

/* Modern Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 160px 0 100px;
    background: radial-gradient(1200px 400px at 100% 0%, var(--perkins-blue-50) 0%, transparent 50%),
                radial-gradient(800px 300px at 0% 100%, var(--gray-50) 0%, transparent 50%),
                var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 58, 138, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-title {
    font-size: var(--text-7xl);
    max-width: 700px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: var(--leading-relaxed);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.visual-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.workflow-diagram {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-card);
    border-color: var(--perkins-blue-200);
}

.step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--perkins-blue), var(--perkins-blue-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--perkins-blue), var(--perkins-blue-light));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

.step-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: var(--text-lg);
}

.step-desc {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

/* Modern Problem Section */
.problem {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(600px 200px at 0% 0%, rgba(30, 58, 138, 0.05) 0%, transparent 50%),
        radial-gradient(600px 200px at 100% 100%, rgba(30, 58, 138, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.section-title {
    font-size: var(--text-5xl);
    background: linear-gradient(135deg, var(--text-primary), var(--gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
}

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

.problem-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--perkins-blue-200);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--perkins-blue-50), var(--bg-primary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.problem-title {
    font-size: var(--text-2xl);
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.problem-desc {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

/* Modern Solution Section */
.solution {
    padding: 120px 0;
    background: var(--bg-primary);
}

.process-flow {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step:hover {
    transform: translateX(16px);
    box-shadow: var(--shadow-hover);
    border-color: var(--perkins-blue-200);
}

.process-step:nth-child(2) {
    flex-direction: row-reverse;
    transform: translateX(24px);
}

.process-step:nth-child(2):hover {
    transform: translateX(40px);
}

.process-step:nth-child(3) {
    flex-direction: row;
    transform: translateX(-24px);
}

.process-step:nth-child(3):hover {
    transform: translateX(-8px);
}

.step-icon {
    font-size: 3rem;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--perkins-blue), var(--perkins-blue-light));
    color: white;
    border-radius: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.step-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 4s infinite;
    pointer-events: none;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: var(--text-3xl);
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: var(--font-weight-bold);
}

.step-desc {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* Modern Founder Section */
.founder {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.founder-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    width: 420px;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, var(--perkins-blue-50), var(--bg-primary));
}

.image-frame:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--perkins-blue-200);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.image-frame:hover .founder-photo {
    transform: scale(1.05);
}

.founder-title {
    font-size: var(--text-5xl);
    color: var(--text-primary);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary), var(--gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-quote {
    font-size: var(--text-2xl);
    font-style: italic;
    color: var(--perkins-blue);
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, var(--perkins-blue-50), var(--bg-primary));
    border-radius: 16px;
    border-left: 4px solid var(--perkins-blue);
    position: relative;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--perkins-blue-200);
    font-family: var(--font-family-serif);
}

.founder-bio p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* Futuristic Tech Stack Section - UPDATED */
.tech-stack {
    padding: 140px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(600px 300px at 0% 0%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
        radial-gradient(600px 300px at 100% 100%, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.tech-orbit {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px; /* Increased height to fit larger rings */
    z-index: 2;
}

.tech-core {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--perkins-blue), var(--perkins-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
    z-index: 10;
    animation: pulse 4s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.core-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    z-index: -1;
    animation: glow 3s ease-in-out infinite alternate;
}

.core-text {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* RINGS */
.tech-ring {
    position: absolute;
    border-radius: 50%;
    /* Flex alignment isn't used here, we use absolute positioning */
}

/* Inner Ring - Larger size to prevent overlap */
.inner-ring {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(30, 58, 138, 0.3);
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    animation: orbit 40s linear infinite; /* Clockwise rotation */
    z-index: 5;
}

/* Outer Ring - Significantly larger size */
.outer-ring {
    width: 720px;
    height: 720px;
    border: 1px solid rgba(30, 58, 138, 0.2);
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    animation: orbit 60s linear infinite; /* Clockwise rotation */
    z-index: 4;
}

/* NODES - The invisible anchors on the ring */
.tech-node {
    position: absolute;
    width: 130px;
    height: 130px;
    /* No styling here - styling moves to content */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NODE CONTENT - The visible card that counter-rotates */
.node-content {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 24px; /* INCREASED PADDING */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(10px);
}

.inner-ring .node-content {
    animation: counter-orbit 40s linear infinite; /* Counter-Clockwise matched to inner ring */
}

.outer-ring .node-content {
    animation: counter-orbit 60s linear infinite; /* Counter-Clockwise matched to outer ring */
}

/* POSITIONING LOGIC */
/* Inner Ring (4 Items) - 90 degree intervals */
.inner-ring .tech-node:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.inner-ring .tech-node:nth-child(2) { top: 50%; right: 0; transform: translate(50%, -50%); }
.inner-ring .tech-node:nth-child(3) { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.inner-ring .tech-node:nth-child(4) { top: 50%; left: 0; transform: translate(-50%, -50%); }

/* Outer Ring (8 Items) - 45 degree intervals */
/* Cardinal Points */
.outer-ring .tech-node:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.outer-ring .tech-node:nth-child(3) { top: 50%; right: 0; transform: translate(50%, -50%); }
.outer-ring .tech-node:nth-child(5) { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.outer-ring .tech-node:nth-child(7) { top: 50%; left: 0; transform: translate(-50%, -50%); }

/* Diagonal Points (14.6% is approx offset for 45deg on a square) */
.outer-ring .tech-node:nth-child(2) { top: 14.6%; right: 14.6%; transform: translate(50%, -50%); }
.outer-ring .tech-node:nth-child(4) { bottom: 14.6%; right: 14.6%; transform: translate(50%, 50%); }
.outer-ring .tech-node:nth-child(6) { bottom: 14.6%; left: 14.6%; transform: translate(-50%, 50%); }
.outer-ring .tech-node:nth-child(8) { top: 14.6%; left: 14.6%; transform: translate(-50%, -50%); }

/* CONTENT STYLING */
.tech-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.tech-name {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-desc {
    font-size: 0.7rem; /* Smaller font to fit better */
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
}

/* Hover Effects */
.node-content:hover {
    transform: scale(1.1); /* This scale applies on top of the rotation animation */
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
    border-color: var(--perkins-blue-200);
    z-index: 20;
    background: white;
}

/* ANIMATIONS */
@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counter-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .outer-ring { width: 600px; height: 600px; }
    .inner-ring { width: 340px; height: 340px; }
    .tech-node { width: 110px; height: 110px; }
    .node-content { padding: 16px; }
    .tech-icon { font-size: 1.75rem; }
}

@media (max-width: 768px) {
    .tech-orbit { height: 600px; }
    .outer-ring { width: 450px; height: 450px; }
    .inner-ring { width: 220px; height: 220px; }
    .tech-node { width: 90px; height: 90px; }
    .node-content { padding: 10px; }
    .tech-icon { font-size: 1.5rem; margin-bottom: 4px; }
    .tech-desc { display: none; } /* Hide desc on mobile to save space */
    .tech-name { font-size: 0.65rem; }
}

/* Modern Services Section */
.services {
    padding: 120px 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--perkins-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--perkins-blue-200);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--perkins-blue);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
    background: linear-gradient(135deg, var(--bg-primary), var(--perkins-blue-50));
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.service-title {
    font-size: var(--text-2xl);
    color: var(--text-primary);
    margin: 0;
    font-weight: var(--font-weight-bold);
}

.service-price {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--perkins-blue);
    background: linear-gradient(135deg, var(--perkins-blue), var(--perkins-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-base);
    margin-bottom: 24px;
    font-style: normal;
    font-weight: var(--font-weight-medium);
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
    font-size: var(--text-base);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-gold);
    font-weight: var(--font-weight-bold);
    background: var(--success-gold-100);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.service-outcome {
    background: linear-gradient(135deg, var(--success-gold-100), var(--bg-primary));
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid var(--success-gold);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: var(--text-base);
}

/* Modern FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.faq-item {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--perkins-blue-200);
}

.faq-question {
    font-size: var(--text-xl);
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: var(--font-weight-semibold);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

/* Modern CTA Section */
.cta-final {
    padding: 140px 0;
    background: linear-gradient(135deg, var(--perkins-blue) 0%, var(--perkins-blue-dark) 100%);
    color: var(--clean-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(600px 300px at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(600px 300px at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: var(--text-6xl);
    margin-bottom: 24px;
    color: var(--clean-white);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: var(--text-xl);
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: var(--leading-relaxed);
    color: white;
}

.cta-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    grid-column: 1 / -1;
}

.form-group:nth-child(4) {
    grid-column: span 1;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-family-sans);
    font-size: var(--text-base);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-form input::placeholder,
.cta-form select {
    color: rgba(255, 255, 255, 0.6);
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-message {
    margin-top: 16px;
    min-height: 24px;
    font-weight: var(--font-weight-semibold);
}

/* Modern Footer */
.footer {
    padding: 64px 0 32px;
    background-color: var(--gray-900);
    color: var(--gray-100);
    border-top: 1px solid var(--gray-800);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-logo-image {
    height: 95px;
    filter: brightness(0) invert(1);
}

.footer-info p {
    color: var(--gray-400);
    font-size: var(--text-sm);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-step {
        flex-direction: column !important;
        text-align: center;
        gap: 24px;
    }
    
    .process-step:nth-child(2),
    .process-step:nth-child(3) {
        transform: none;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-orbit {
        height: 400px;
    }
    
    .tech-core {
        width: 120px;
        height: 120px;
    }
    
    .inner-ring {
        width: 240px;
        height: 240px;
    }
    
    .outer-ring {
        width: 360px;
        height: 360px;
    }
    
    .tech-node {
        width: 100px;
        height: 100px;
    }
    
    .tech-ring.inner-ring .tech-node:nth-child(1) { transform: translate(-50%, -60px) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(2) { transform: translate(60px, -50%) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(3) { transform: translate(-50%, 60px) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(4) { transform: translate(-60px, -50%) rotate(0deg); }

    .tech-ring.outer-ring .tech-node:nth-child(1) { transform: translate(-50%, -120px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(2) { transform: translate(85px, -85px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(3) { transform: translate(120px, -50%) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(4) { transform: translate(85px, 85px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(5) { transform: translate(-50%, 120px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(6) { transform: translate(-85px, 85px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(7) { transform: translate(-120px, -50%) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(8) { transform: translate(-85px, -85px) rotate(0deg); }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-4xl);
    }
    
    .cta-title {
        font-size: var(--text-4xl);
    }
    
    .visual-frame {
        padding: 20px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .step-number {
        margin-bottom: 0;
    }
    
    .image-frame {
        width: 320px;
        height: 320px;
    }
    
    .tech-orbit {
        height: 300px;
    }
    
    .tech-core {
        width: 100px;
        height: 100px;
    }
    
    .inner-ring {
        width: 200px;
        height: 200px;
    }
    
    .outer-ring {
        width: 280px;
        height: 280px;
    }
    
    .tech-node {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
    }
    
    .tech-ring.inner-ring .tech-node:nth-child(1) { transform: translate(-50%, -50px) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(2) { transform: translate(50px, -50%) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(3) { transform: translate(-50%, 50px) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(4) { transform: translate(-50px, -50%) rotate(0deg); }

    .tech-ring.outer-ring .tech-node:nth-child(1) { transform: translate(-50%, -100px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(2) { transform: translate(70px, -70px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(3) { transform: translate(100px, -50%) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(4) { transform: translate(70px, 70px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(5) { transform: translate(-50%, 100px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(6) { transform: translate(-70px, 70px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(7) { transform: translate(-100px, -50%) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(8) { transform: translate(-70px, -70px) rotate(0deg); }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .cta-title {
        font-size: var(--text-3xl);
    }
    
    .btn {
        padding: 12px 20px;
        font-size: var(--text-sm);
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: var(--text-base);
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .tech-orbit {
        height: 250px;
    }
    
    .tech-core {
        width: 80px;
        height: 80px;
    }
    
    .inner-ring {
        width: 160px;
        height: 160px;
    }
    
    .outer-ring {
        width: 220px;
        height: 220px;
    }
    
    .tech-node {
        width: 60px;
        height: 60px;
        font-size: 0.7rem;
    }
    
    .tech-ring.inner-ring .tech-node:nth-child(1) { transform: translate(-50%, -40px) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(2) { transform: translate(40px, -50%) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(3) { transform: translate(-50%, 40px) rotate(0deg); }
    .tech-ring.inner-ring .tech-node:nth-child(4) { transform: translate(-40px, -50%) rotate(0deg); }

    .tech-ring.outer-ring .tech-node:nth-child(1) { transform: translate(-50%, -80px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(2) { transform: translate(60px, -60px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(3) { transform: translate(80px, -50%) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(4) { transform: translate(60px, 60px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(5) { transform: translate(-50%, 80px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(6) { transform: translate(-60px, 60px) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(7) { transform: translate(-80px, -50%) rotate(0deg); }
    .tech-ring.outer-ring .tech-node:nth-child(8) { transform: translate(-60px, -60px) rotate(0deg); }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--perkins-blue), var(--success-gold));
    z-index: 60;
    transition: width 0.1s ease-out;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
a:focus {
    outline: 3px solid var(--perkins-blue);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}