/* GPLinks Style Theme */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --dark: #1e293b;
    --text-primary: #334155;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
}

/* Header Styles */
.gplinks-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.gplinks-header .navbar {
    padding: 1rem 0;
}

.gplinks-header .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gplinks-header .navbar-brand i {
    font-size: 1.8rem;
}

.gplinks-header .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.gplinks-header .nav-link:hover {
    color: var(--primary-color) !important;
}

.gplinks-header .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gplinks-header .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.gplinks-header .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.gplinks-header .dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.gplinks-header .dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.gplinks-header .dropdown-item i {
    width: 20px;
    margin-right: 0.5rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 2rem;
}

/* Home Page Styles */
.home-page .main-content {
    padding-top: 0;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-section .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    margin: 0 0.5rem;
}

.hero-section .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.hero-section .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

/* URL Shortener Form */
.url-shortener {
    background: var(--white);
    padding: 3rem 0;
}

.shortener-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.shortener-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.shortener-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.shortener-form .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    border-radius: 1rem 1rem 0 0 !important;
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
}

.btn-warning {
    background: var(--warning-color);
    border-color: var(--warning-color);
}

.btn-danger {
    background: var(--danger-color);
    border-color: var(--danger-color);
}

/* Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Tables */
.table {
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th {
    background: var(--light-bg);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
}

.table td {
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* Footer */
.gplinks-footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.gplinks-footer h5,
.gplinks-footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.gplinks-footer .footer-brand h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gplinks-footer ul li {
    margin-bottom: 0.5rem;
}

.gplinks-footer ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gplinks-footer ul li a:hover {
    color: var(--white);
}

.gplinks-footer .social-links {
    display: flex;
    gap: 1rem;
}

.gplinks-footer .social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.gplinks-footer .social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.gplinks-footer .footer-divider {
    border-color: #374151;
    margin: 2rem 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .shortener-form {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .stat-item .stat-number {
        font-size: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Banner Section */
.banner-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.banner-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.banner-content h3 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.banner-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.banner-features .badge {
    background: var(--success-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.banner-features .badge i {
    margin-right: 0.5rem;
}

.banner-action {
    text-align: center;
}

.earning-display {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.earning-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.earning-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
    padding: 1rem 2rem;
    font-weight: 600;
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 0.2rem;
}

.testimonial-content p {
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 0.25rem;
    color: var(--dark);
    font-weight: 600;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design for Banner and Testimonials */
@media (max-width: 768px) {
    .banner-card {
        padding: 2rem 1.5rem;
    }
    
    .banner-features {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .earning-display {
        margin-top: 2rem;
    }
    
    .earning-amount {
        font-size: 2rem;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}