@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --bg-dark: #0d1117;
    --bg-surface: #161b22;
    --primary-color: #58a6ff;
    --primary-color-light: #79c0ff;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --border-color: #30363d;
    --border-color-light: #8b949e;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: saturate(180%) blur(5px);
    -webkit-backdrop-filter: saturate(180%) blur(5px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-button {
    background: var(--primary-color);
    color: var(--bg-dark) !important;
    font-weight: 700 !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--primary-color-light);
    color: var(--bg-dark) !important;
    transform: translateY(-2px);
}


/* --- Hero Section --- */
#hero {
    background: var(--bg-dark);
    text-align: center;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: conic-gradient(
        from 180deg at 50% 50%,
        var(--primary-color) 0deg,
        #9370db 90deg,
        var(--bg-dark) 180deg,
        var(--primary-color) 360deg
    );
    transform: translate(-50%, -50%);
    animation: rotate-bg 20s linear infinite;
    opacity: 0.1;
    filter: blur(80px);
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    background: -webkit-linear-gradient(45deg, #58a6ff, #9370db);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

#hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.cta-button {
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 16px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(88, 166, 255, 0.2);
}

.cta-button:hover {
    background: var(--primary-color-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(88, 166, 255, 0.3);
}

/* --- General Section Styling --- */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}
section:last-of-type {
    border-bottom: none;
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 70px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Features Section --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--bg-surface);
    padding: 35px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.icon-wrapper {
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card ul {
    flex-grow: 1;
}

.pricing-card.recommended {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(88, 166, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.recommend-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 6px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    width: 100%;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-secondary);
}
.pricing-card li strong {
    color: var(--text-primary);
}
.pricing-card li ✔ {
    color: var(--primary-color);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}
.btn-primary:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

/* --- CTA Section --- */
#cta {
    background: var(--bg-surface);
    text-align: center;
}
#cta h2 {
    color: var(--white);
}
#cta p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

/* --- Footer --- */
footer {
    background: var(--bg-dark);
    text-align: center;
    padding: 30px 0;
    color: var(--text-secondary);
}

/* --- Animations --- */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.recommended {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    .hamburger {
        display: inline-block;
    }
    #hero h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    section {
        padding: 80px 0;
    }
} 

/* --- Keyframes for Animation --- */
@keyframes rotate-bg {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- Hamburger & Mobile Menu --- */
.hamburger {
    display: none;
    padding: 15px;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 4px;
    position: absolute;
    transition: transform 0.25s ease-in-out;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
}
.hamburger.is-active .hamburger-inner::before {
    top: 0;
    transform: rotate(0);
}
.hamburger.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(90deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 2rem;
    color: var(--text-primary);
    text-decoration: none;
    padding: 20px;
    font-weight: 600;
}

body.mobile-menu-open {
    overflow: hidden;
} 