/* ============================================
   GSC Monster Landing Styles
   Professional SAAS Landing Design
   ============================================ */

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - GSC Monster Palette */
    --primary-blue: #2196F3;
    --primary-cyan: #1ABC9C;
    --primary-green: #27AE60;
    --accent-yellow: #F1C40F;
    --accent-orange: #F39C12;
    --accent-red: #E74C3C;
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, #2196F3 0%, #1ABC9C 100%);
    --gradient-hero: linear-gradient(135deg, #2196F3 0%, #1ABC9C 50%, #27AE60 100%);
    --gradient-card: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(26, 188, 156, 0.1) 100%);
    
    /* Dark Tones */
    --dark-primary: #1A2332;
    --dark-secondary: #2C3E50;
    --dark-blue: #1557b0;
    
    /* Text Colors */
    --text-primary: #1A2332;
    --text-secondary: #5f6368;
    --text-light: #8A8A8A;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFB;
    --bg-cards: #FAFBFC;
    --bg-hover: rgba(33, 150, 243, 0.05);
    
    /* Border & Shadow */
    --border-light: #E8EAED;
    --border-medium: #DADCE0;
    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 35, 50, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 35, 50, 0.16);
    --shadow-hover: 0 8px 24px rgba(33, 150, 243, 0.25);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header === */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    height: 80px;
    overflow: hidden;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.85;
}

.logo img {
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 0px;
    margin-right: 0px;
    filter: drop-shadow(0 2px 4px rgba(33, 150, 243, 0.15));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.mobile-toggle:hover span {
    background: var(--primary-blue);
}

/* === Buttons === */
.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-cyan);
}

/* === Hero === */
.hero {
    padding: 140px 0 120px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(26, 188, 156, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 24px rgba(26, 35, 50, 0.15);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 48px;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 12px rgba(26, 35, 50, 0.1);
}

.hero-cta {
    margin-bottom: 32px;
}

.hero .btn-primary {
    padding: 18px 40px;
    font-size: 17px;
    background: var(--bg-white);
    color: var(--primary-blue);
    font-weight: 700;
}

.hero .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-4px) scale(1.02);
}

.privacy-note {
    font-size: 14px;
    opacity: 0.85;
    font-weight: 400;
}

/* === Login Form === */
.login-form-container {
    max-width: 440px;
    margin: 0 auto 32px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(26, 35, 50, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition-fast);
    background: var(--bg-white);
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
    background: var(--bg-white);
}

.form-group input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-bottom: 18px;
}

.btn-google {
    width: 100%;
    justify-content: center;
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    font-weight: 600;
}

.btn-google:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-cyan);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid var(--border-light);
}

.divider span {
    padding: 0 20px;
}

.error-message {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    color: var(--accent-red);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-top: 16px;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* === Features === */
.features {
    padding: 120px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 72px;
    color: var(--text-primary);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    text-align: center;
    border-radius: 20px;
    transition: var(--transition-smooth);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--gradient-card);
    border-radius: 16px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.15);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.25);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* === Pricing === */
.pricing {
    padding: 120px 0;
    background: var(--bg-white);
}

.pricing-content {
    max-width: 520px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 56px 48px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
}

.pricing-header {
    margin-bottom: 40px;
}

.pricing-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.price-amount {
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--primary-green);
    flex-shrink: 0;
    font-size: 20px;
}

/* === CTA === */
.cta {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 60%;
    height: 130%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.cta p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 400;
}

/* === Footer === */
.footer {
    background: var(--dark-primary);
    color: var(--bg-white);
    padding: 56px 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    opacity: 0.85;
    font-size: 14px;
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.85;
    font-size: 14px;
    transition: var(--transition-fast);
    font-weight: 500;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-cyan);
}

.footer-links a:hover::after {
    width: 100%;
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 32px 24px;
        border-bottom: 1px solid var(--border-light);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-smooth);
        gap: 24px;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
    
    .login-form-container {
        padding: 32px 24px;
        margin: 0 16px 32px;
        border-radius: 16px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 56px;
    }

    .features {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .pricing {
        padding: 80px 0;
    }

    .pricing-card {
        padding: 40px 28px;
        border-radius: 20px;
    }

    .price-amount {
        font-size: 56px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta h2 {
        font-size: 36px;
    }

    .cta p {
        font-size: 18px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero .btn-primary {
        padding: 16px 32px;
        font-size: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .price-amount {
        font-size: 48px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* === Smooth Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

/* ============================================
   Modal Styles - Auth Error
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease-out;
}

.modal-content h2 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.modal-buttons button {
    flex: 1;
    max-width: 200px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
