:root {
    --bg-color: #fbfbfd;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #0066cc;
    --accent-glow: rgba(0, 102, 204, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-hover: rgba(255, 255, 255, 0.9);
    /* For button hover glow */
    --premium-gradient: linear-gradient(135deg, #0066cc, #b21f1f, #fdbb2d); 
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #1d1d1f, #86868b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 6rem 2rem 2rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.gradient-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #1d1d1f 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    filter: blur(60px);
    opacity: 0.8;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background-color: var(--text-primary);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: var(--glass-bg);
}

.glow-btn {
    position: relative;
    background: var(--text-primary);
    z-index: 1;
}
.glow-btn::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--premium-gradient);
    z-index: -1;
    border-radius: 32px;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-btn:hover::before {
    opacity: 0.8;
}

/* Sections */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.plans-section, .free-section {
    padding: 8rem 0;
    position: relative;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.single-plan-grid {
    display: flex;
    justify-content: center;
}
.single-plan-grid > .plan-card {
    width: 100%;
    max-width: 400px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: var(--glass-hover);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.plan-card {
    position: relative;
    /* Special button styling for main plan card if alone */
}
.plan-card .btn {
    text-align: center;
    width: 100%;
    background-color: var(--accent);
    color: #fff;
    border: none;
}
.plan-card .btn:hover {
    background-color: #005bb5;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.price span:first-child {
    font-size: 2rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0;
}

.features-list {
    flex-grow: 1;
    margin-bottom: 2.5rem;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.features-list li:last-child {
    border-bottom: none;
}

.icon-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}
.icon-check::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 3px;
    left: 7px;
}

.disclaimer {
    font-size: 0.75rem !important;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 10px;
    border-bottom: none !important;
}

/* Free grid */
.free-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 1200px;
}

.small-card {
    padding: 2rem;
}

.small-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.small-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.text-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.text-link .arrow {
    margin-left: 5px;
    transition: transform 0.3s;
}

.text-link:hover .arrow {
    transform: translateX(5px);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: #f5f5f7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h5 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-col ul a:hover {
    color: var(--text-primary);
}

.newsletter p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.newsletter-form input {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    flex-grow: 1;
    font-family: inherit;
    outline: none;
    min-width: 0;
}
.newsletter-form input:focus {
    border-color: var(--accent);
}

.small-btn {
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Animations */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .gradient-text {
        font-size: 3rem;
    }
}