/* AgileAdapt Royal Electric Design Tokens */
:root {
    --brand-primary: #1E40AF;
    --brand-electric: #3B82F6;
    --brand-gradient: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    --hero-blue-light: #eff6ff;
    --hero-blue-mid: #3b82f6;
    --hero-blue-dark: #1e40af;
    --btn-start: #3b82f6;
    --btn-end: #1d4ed8;
    --text-dark: #0f172a;
    --text-body: #475569;
    --bg-light: #f8fafc;
    --font-primary: 'Muli', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.5;
}

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

/* Header */
.main-header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

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

.logo img {
    height: 40px;
    width: auto;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0 15px;
    font-size: 0.95rem;
}

.nav-btn {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, var(--hero-blue-light) 22%, var(--hero-blue-mid) 78%, var(--hero-blue-dark) 100%);
    padding: 100px 0 150px;
    text-align: center;
    color: var(--text-dark);
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtext {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-dark);
    opacity: 0.85;
}

.btn-primary {
    background: linear-gradient(45deg, var(--btn-start), var(--btn-end));
    color: white;
    border: none;
    padding: 20px 48px;
    border-radius: 99px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.trust-pill {
    margin-top: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* iPhone Frame Replicating Johnni */
.phone-mockup-container {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.iphone-frame {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    border: 4px solid #333;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
}

.phone-header {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Voice Selection Cards */
.voice-selection {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voice-card {
    background: white;
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.voice-card.active {
    background: #eff6ff;
    border-color: var(--hero-blue-mid);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.voice-card img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.voice-info {
    flex-grow: 1;
    text-align: left;
}

.voice-name {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
}

.voice-status {
    font-size: 0.7rem;
    color: var(--hero-green-mid);
    font-weight: 700;
}

.mic-icon {
    margin-left: auto;
}

.talk-now-btn {
    margin-top: auto;
    background: var(--hero-blue-mid);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
}

/* Active Call Simulation */
.active-call-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-dark);
    color: white;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.active-call-overlay.active {
    display: flex;
}

.timer {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.end-call-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* Examples Section */
.examples {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title span {
    color: var(--hero-blue-mid);
}

.section-sub {
    color: var(--text-body);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.example-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s;
}

.example-card:hover {
    transform: translateY(-5px);
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--hero-blue-mid);
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 24px;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #ffffff;
}

.example-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.example-info p {
    font-size: 0.85rem;
    color: var(--text-body);
    font-style: italic;
}

@media (max-width: 900px) {
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
}